comments_link

Definition:
function comments_link( $deprecated = '', $deprecated_2 = '' ) {}

Displays the link to the current post comments.

Parameters

  • string $deprecated: Not Used
  • bool $deprecated_2: Not Used

Source code

function comments_link( $deprecated = '', $deprecated_2 = '' ) {

	if ( !empty( $deprecated ) )

		_deprecated_argument( __FUNCTION__, '0.72' );

	if ( !empty( $deprecated_2 ) )

		_deprecated_argument( __FUNCTION__, '1.3' );

	echo get_comments_link();

}

643

codepress_get_lang

Definition:
function codepress_get_lang( $filename ) {}

Determines the language to use for CodePress syntax highlighting.

Parameters

  • string $filename

Source code

function codepress_get_lang( $filename ) {

	_deprecated_function( __FUNCTION__, '3.0' );

	return;

}

641

codepress_footer_js

Definition:
function codepress_footer_js() {}

Adds Javascript required to make CodePress work on the theme/plugin editors.

Source code

function codepress_footer_js() {

	_deprecated_function( __FUNCTION__, '3.0' );

	return;

}

639

clear_global_post_cache

Definition:
function clear_global_post_cache( $post_id ) {}

Parameters

  • $post_id

Source code

function clear_global_post_cache( $post_id ) {

	_deprecated_function( __FUNCTION__, '3.0', 'clean_post_cache()' );

}

637

clean_user_cache

Definition:
function clean_user_cache($id) {}

Clean all user caches

Parameters

  • int $id: User ID

Source code

function clean_user_cache($id) {

	$user = WP_User::get_data_by( 'id', $id );



	wp_cache_delete($id, 'users');

	wp_cache_delete($user->user_login, 'userlogins');

	wp_cache_delete($user->user_email, 'useremail');

	wp_cache_delete($user->user_nicename, 'userslugs');

}

635