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 401 to 450 of 4125 functions (Page 9 of 83)
dbDelta()

Modifies the database based on specified SQL statements.

$queries $execute
make_db_current()

Updates the database tables to a new schema.

$tables
make_db_current_silent()

Updates the database tables to a new schema, but without displaying results.

$tables
make_site_theme_from_oldschool()

Creates a site theme from an existing theme.

$theme_name $template
make_site_theme_from_default()

Creates a site theme from the default theme.

$theme_name $template
make_site_theme()

Creates a site theme.

translate_level_to_role()

Translate user level to user role name.

$level
wp_check_mysql_version()

Checks the version of the installed MySQL binary.

maybe_disable_automattic_widgets()

Disables the Automattic widgets plugin, which was merged into core.

maybe_disable_link_manager()

Disables the Link Manager on upgrade if, at the time of upgrade, no links exist in the DB.

pre_schema_upgrade()

Runs before the schema is upgraded.

wp_should_upgrade_global_tables()

Determine if global tables should be upgraded.

get_column_headers()

Get the column headers for a screen

$screen
get_hidden_columns()

Get a list of hidden columns.

$screen
meta_box_prefs()

Prints the meta box preferences for screen meta.

$screen
get_hidden_meta_boxes()

Gets an array of IDs of hidden meta boxes.

$screen
add_screen_option()

Register and configure an admin screen option

$option $args
get_current_screen()

Get the current screen object

set_current_screen()

Set the current screen object

$hook_name
add_cssclass()

Adds a CSS class to a string.

$class_to_add $classes
add_menu_classes()

Adds CSS classes for top-level administration menu items.

$menu
sort_menu()
$a $b
wp_ajax_nopriv_heartbeat()

Handles the Heartbeat API in the no-privilege context via AJAX .

wp_ajax_fetch_list()

Handles fetching a list table via AJAX.

wp_ajax_ajax_tag_search()

Handles tag search via AJAX.

wp_ajax_wp_compression_test()

Handles compression testing via AJAX.

wp_ajax_imgedit_preview()

Handles image editor previews via AJAX.

wp_ajax_oembed_cache()

Handles oEmbed caching via AJAX.

wp_ajax_autocomplete_user()

Handles user autocomplete via AJAX.

wp_ajax_get_community_events()

Handles Ajax requests for community events

wp_ajax_dashboard_widgets()

Handles dashboard widgets via AJAX.

wp_ajax_logged_in()

Handles Customizer preview logged-in status via AJAX.

_wp_ajax_delete_comment_response()

Sends back current comment total and new page links if they need to be updated.

$comment_id $delta
_wp_ajax_add_hierarchical_term()

Handles adding a hierarchical term via AJAX.

wp_ajax_delete_comment()

Handles deleting a comment via AJAX.

wp_ajax_delete_tag()

Handles deleting a tag via AJAX.

wp_ajax_delete_link()

Handles deleting a link via AJAX.

wp_ajax_delete_meta()

Handles deleting meta via AJAX.

wp_ajax_delete_post()

Handles deleting a post via AJAX.

$action
wp_ajax_trash_post()

Handles sending a post to the Trash via AJAX.

$action
wp_ajax_untrash_post()

Handles restoring a post from the Trash via AJAX.

$action
wp_ajax_delete_page()

Handles deleting a page via AJAX.

$action
wp_ajax_dim_comment()

Handles dimming a comment via AJAX.

wp_ajax_add_link_category()

Handles adding a link category via AJAX.

$action
wp_ajax_add_tag()

Handles adding a tag via AJAX.

wp_ajax_get_tagcloud()

Handles getting a tagcloud via AJAX.

wp_ajax_get_comments()

Handles getting comments via AJAX.

$action
wp_ajax_replyto_comment()

Handles replying to a comment via AJAX.

$action
wp_ajax_edit_comment()

Handles editing a comment via AJAX.

wp_ajax_add_menu_item()

Handles adding a menu item via AJAX.