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 3151 to 3200 of 4125 functions (Page 64 of 83)
wp_register_comment_personal_data_exporter()

Registers the personal data exporter for comments.

$exporters
wp_comments_personal_data_exporter()

Finds and exports personal data associated with an email address from the comments table.

$email_address $page
wp_register_comment_personal_data_eraser()

Registers the personal data eraser for comments.

$erasers
wp_comments_personal_data_eraser()

Erases personal data associated with an email address from the comments table.

$email_address $page
wp_cache_set_comments_last_changed()

Sets the last changed time for the 'comment' cache group.

_wp_batch_update_comment_type()

Updates the comment type for a batch of comments.

_wp_check_for_scheduled_update_comment_type()

In order to avoid the _wp_batch_update_comment_type() job being accidentally removed,

wp_get_nav_menu_object()

Returns a navigation menu object.

$menu
is_nav_menu()

Determines whether the given ID is a navigation menu.

$menu
register_nav_menus()

Registers navigation menu locations for a theme.

$locations
unregister_nav_menu()

Unregisters a navigation menu location for a theme.

$location
register_nav_menu()

Registers a navigation menu location for a theme.

$location $description
get_registered_nav_menus()

Retrieves all registered navigation menu locations in a theme.

get_nav_menu_locations()

Retrieves all registered navigation menu locations and the menus assigned to them.

has_nav_menu()

Determines whether a registered nav menu location has a menu assigned to it.

$location
wp_get_nav_menu_name()

Returns the name of a navigation menu.

$location
is_nav_menu_item()

Determines whether the given ID is a nav menu item.

$menu_item_id
wp_create_nav_menu()

Creates a navigation menu.

$menu_name
wp_delete_nav_menu()

Deletes a navigation menu.

$menu
wp_update_nav_menu_object()

Saves the properties of a menu or create a new menu with those properties.

$menu_id $menu_data
wp_update_nav_menu_item()

Saves the properties of a menu item or create a new one.

$menu_id $menu_item_db_id $menu_item_data +1 more
wp_get_nav_menus()

Returns all navigation menu objects.

$args
_is_valid_nav_menu_item()

Determines whether a menu item is valid.

$item
wp_get_nav_menu_items()

Retrieves all menu items of a navigation menu.

$menu $args
update_menu_item_cache()

Updates post and term caches for all linked objects for a list of menu items.

$menu_items
wp_setup_nav_menu_item()

Decorates a menu item object with the shared navigation menu item properties.

$menu_item
wp_get_associated_nav_menu_items()

Returns the menu items associated with a particular object.

$object_id $object_type $taxonomy
_wp_delete_post_menu_item()

Callback for handling a menu item when its original object is deleted.

$object_id
_wp_delete_tax_menu_item()

Serves as a callback for handling a menu item when its original object is deleted.

$object_id $tt_id $taxonomy
_wp_auto_add_pages_to_menu()

Automatically add newly published page objects to menus with that as an option.

$new_status $old_status $post
_wp_delete_customize_changeset_dependent_auto_drafts()

Deletes auto-draft posts associated with the supplied changeset.

$post_id
_wp_menus_changed()

Handles menu config after theme change.

wp_map_nav_menu_locations()

Maps nav menu locations according to assignments in previously active theme.

$new_nav_menu_locations $old_nav_menu_locations
_wp_reset_invalid_menu_item_parent()

Prevents menu items from being their own parent.

$menu_item_data
wp_underscore_audio_template()

Outputs the markup for an audio tag to be used in an Underscore template

wp_underscore_video_template()

Outputs the markup for a video tag to be used in an Underscore template

wp_print_media_templates()

Prints the templates used in the media manager.

_walk_bookmarks()

The formatted output of a list of bookmarks.

$bookmarks $args
wp_list_bookmarks()

Retrieves or echoes all of the bookmarks.

$args
sodiumCompatAutoloader()

Sodium_Compat autoloader.

$class
sodium_crypto_aead_aegis128l_decrypt()
$ciphertext $additional_data $nonce +1 more
sodium_crypto_aead_aegis128l_encrypt()
$message $additional_data $nonce +1 more
sodium_crypto_aead_aegis256_decrypt()
$ciphertext $additional_data $nonce +1 more
sodium_crypto_aead_aegis256_encrypt()
$message $additional_data $nonce +1 more
bin2hex()
$string
compare()
$a $b
crypto_aead_aes256gcm_decrypt()
$message $assocData $nonce +1 more
crypto_aead_aes256gcm_encrypt()
$message $assocData $nonce +1 more
crypto_aead_aes256gcm_is_available()
crypto_aead_chacha20poly1305_decrypt()
$message $assocData $nonce +1 more