WPDev.one
Core PHP Functions

Functions Reference

4125+ PHP functions available in the WordPress global namespace. Complete documentation with parameters, return values, and usage examples.

Showing 3951 to 4000 of 4125 functions (Page 80 of 83)
automatic_feed_links()

Enable/disable automatic general feed link outputting.

$add
get_profile()

Retrieve user data based on field.

$field $user
get_usernumposts()

Retrieves the number of posts a user has written.

$userid
funky_javascript_callback()

Callback used to change %uXXXX to &#YYY; syntax

$matches
funky_javascript_fix()

Fixes JavaScript bugs in browsers.

$text
is_taxonomy()

Checks that the taxonomy name exists.

$taxonomy
is_term()

Check if Term exists.

$term $taxonomy $parent
is_plugin_page()

Determines whether the current admin page is generated by a plugin.

update_category_cache()

Update the categories cache.

wp_timezone_supported()

Check for PHP timezone support

the_editor()

Displays an editor: TinyMCE, HTML, or both.

$content $id $prev_id +3 more
get_user_metavalues()

Perform the query to get the $metavalues array(s) needed by _fill_user and _fill_many_users

$ids
sanitize_user_object()

Sanitize every user field.

$user $context
get_boundary_post_rel_link()

Get boundary post relational link.

$title $in_same_cat $excluded_categories +1 more
start_post_rel_link()

Display relational link for the first post.

$title $in_same_cat $excluded_categories
get_index_rel_link()

Get site index relational link.

index_rel_link()

Display relational link for the site index.

get_parent_post_rel_link()

Get parent post relational link.

$title
parent_post_rel_link()

Display relational link for parent item

$title
wp_admin_bar_dashboard_view_site_menu()

Add the "Dashboard"/"Visit Site" menu.

$wp_admin_bar
is_blog_user()

Checks if the current user belong to a given site.

$blog_id
debug_fopen()

Open the file handle for debugging.

$filename $mode
debug_fwrite()

Write contents to the file used for debugging.

$fp $message
debug_fclose()

Close the debugging file handle.

$fp
get_themes()

Retrieve list of themes with theme data in theme directory.

get_theme()

Retrieve theme data.

$theme
get_current_theme()

Retrieve current theme name.

clean_pre()

Accepts matches array from preg_replace_callback in wpautop() or a string.

$matches
add_custom_image_header()

Add callbacks for image header display.

$wp_head_callback $admin_head_callback $admin_preview_callback
remove_custom_image_header()

Remove image header support.

add_custom_background()

Add callbacks for background image display.

$wp_head_callback $admin_head_callback $admin_preview_callback
remove_custom_background()

Remove custom background support.

get_theme_data()

Retrieve theme data from parsed theme file.

$theme_file
update_page_cache()

Alias of update_post_cache().

$pages
clean_page_cache()

Will clean the page in the cache.

$id
wp_explain_nonce()

Retrieve nonce action "Are you sure" message.

$action
sticky_class()

Display "sticky" CSS class, if a post is sticky.

$post_id
_get_post_ancestors()

Retrieve post ancestors.

$post
wp_load_image()

Load an image from a string, if PHP supports it.

$file
image_resize()

Scale down an image to fit a particular size and save a new copy of the image.

$file $max_w $max_h +4 more
wp_get_single_post()

Retrieve a single post, based on post ID.

$postid $mode
user_pass_ok()

Check that the user login name and password is correct.

$user_login $user_pass
_save_post_hook()

Callback formerly fired on the save_post hook. No longer needed.

gd_edit_image_support()

Check if the installed version of GD supports particular image type

$mime_type
wp_convert_bytes_to_hr()

Converts an integer byte value to a shorthand byte value.

$bytes
_search_terms_tidy()

Formerly used internally to tidy up the search terms.

$t
rich_edit_exists()

Determine if TinyMCE is available.

default_topic_count_text()

Old callback for tag link tooltips.

$count
format_to_post()

Formerly used to escape strings before inserting into the DB.

$content
like_escape()

Formerly used to escape strings before searching the DB. It was poorly documented and never worked as described.

$text