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 201 to 250 of 4125 functions (Page 5 of 83)
wxr_term_meta()

Outputs term meta XML tags for a given term object.

$term
wxr_authors_list()

Outputs list of authors with posts.

$post_ids
wxr_nav_menu_terms()

Outputs all navigation menu terms.

wxr_post_taxonomy()

Outputs list of taxonomy terms, in XML tag format, associated with a post.

wxr_filter_postmeta()

Determines whether to selectively skip post meta used for WXR exports.

$return_me $meta_key
export_wp()

Generates the WXR export file for download.

$args
get_plugin_data()

Parses the plugin contents to retrieve plugin's metadata.

$plugin_file $markup $translate
_get_plugin_data_markup_translate()

Sanitizes plugin data, optionally adds markup, optionally translates.

$plugin_file $plugin_data $markup +1 more
get_plugin_files()

Gets a list of a plugin's files.

$plugin
get_plugins()

Checks the plugins directory and retrieve all plugin files with plugin data.

$plugin_folder
get_mu_plugins()

Checks the mu-plugins directory and retrieve all mu-plugin files with any plugin data.

_sort_uname_callback()

Declares a callback to sort array by a 'Name' key.

$a $b
get_dropins()

Checks the wp-content directory and retrieve all drop-ins with any plugin data.

_get_dropins()

Returns drop-in plugins that WordPress uses.

is_plugin_active()

Determines whether a plugin is active.

$plugin
is_plugin_inactive()

Determines whether the plugin is inactive.

$plugin
is_plugin_active_for_network()

Determines whether the plugin is active for the entire network.

$plugin
is_network_only_plugin()

Checks for "Network: true" in the plugin header to see if this should

$plugin
activate_plugin()

Attempts activation of plugin in a "sandbox" and redirects on success.

$plugin $redirect $network_wide +1 more
deactivate_plugins()

Deactivates a single plugin or multiple plugins.

$plugins $silent $network_wide
activate_plugins()

Activates multiple plugins.

$plugins $redirect $network_wide +1 more
delete_plugins()

Removes directory and files of a plugin for a list of plugins.

$plugins $deprecated
validate_active_plugins()

Validates active plugins.

validate_plugin()

Validates the plugin path.

$plugin
validate_plugin_requirements()

Validates the plugin requirements for WordPress version and PHP version.

$plugin
is_uninstallable_plugin()

Determines whether the plugin can be uninstalled.

$plugin
uninstall_plugin()

Uninstalls a single plugin.

$plugin
add_menu_page()

Adds a top-level menu page.

$page_title $menu_title $capability +4 more
add_submenu_page()

Adds a submenu page.

$parent_slug $page_title $menu_title +4 more
add_management_page()

Adds a submenu page to the Tools main menu.

$page_title $menu_title $capability +3 more
add_options_page()

Adds a submenu page to the Settings main menu.

$page_title $menu_title $capability +3 more
add_theme_page()

Adds a submenu page to the Appearance main menu.

$page_title $menu_title $capability +3 more
add_plugins_page()

Adds a submenu page to the Plugins main menu.

$page_title $menu_title $capability +3 more
add_users_page()

Adds a submenu page to the Users/Profile main menu.

$page_title $menu_title $capability +3 more
add_dashboard_page()

Adds a submenu page to the Dashboard main menu.

$page_title $menu_title $capability +3 more
add_posts_page()

Adds a submenu page to the Posts main menu.

$page_title $menu_title $capability +3 more
add_media_page()

Adds a submenu page to the Media main menu.

$page_title $menu_title $capability +3 more
add_links_page()

Adds a submenu page to the Links main menu.

$page_title $menu_title $capability +3 more
add_pages_page()

Adds a submenu page to the Pages main menu.

$page_title $menu_title $capability +3 more
add_comments_page()

Adds a submenu page to the Comments main menu.

$page_title $menu_title $capability +3 more
remove_menu_page()

Removes a top-level admin menu.

$menu_slug
remove_submenu_page()

Removes an admin submenu.

$menu_slug $submenu_slug
menu_page_url()

Gets the URL to access a particular menu page based on the slug it was registered with.

$menu_slug $display
get_admin_page_parent()

Gets the parent file of the current admin page.

$parent_page
get_admin_page_title()

Gets the title of the current admin page.

get_plugin_page_hook()

Gets the hook attached to the administrative page of a plugin.

$plugin_page $parent_page
get_plugin_page_hookname()

Gets the hook name for the administrative page of a plugin.

$plugin_page $parent_page
user_can_access_admin_page()

Determines whether the current user can access the current admin page.

option_update_filter()

Refreshes the value of the allowed options list available via the 'allowed_options' hook.

$options
add_allowed_options()

Adds an array of options to the list of allowed options.

$new_options $options