New and updated in 6.9.0
-
functionrevoke_super_admin()
Revokes Super Admin privileges.
-
functionget_pending_comments_num()
Gets the number of pending comments on a post or posts.
-
functionadd_role()
Adds a role, if it does not exist.
-
methodWP_Roles::add_role()
Adds a role name with capabilities to the list.
-
functionwp_cron()
Registers _wp_cron() to run on the {@see ‘shutdown’} action.
-
functionesc_url()
Checks and cleans a URL.
-
functionesc_url_raw()
Sanitizes a URL for database or redirect usage.
-
Filters the list of allowed comment types for retrieving avatars.
-
functionwp_check_invalid_utf8()
Checks for invalid UTF8 in a string.
-
functionwp_mail()
Sends an email, similar to PHP’s mail function.
-
functionsanitize_url()
Sanitizes a URL for database or redirect usage.
-
functionsafecss_filter_attr()
Filters an inline style attribute and removes disallowed rules.
-
functionwp_register_script()
Registers a new script.
-
functionwp_enqueue_script()
Enqueues a script.
-
Core class used to implement feed cache transients.
-
Filters the WHERE clause in the SQL for an adjacent post query.
-
Filters the ORDER BY clause in the SQL for an adjacent post query.
-
functionwp_style_add_data()
Adds metadata to a CSS stylesheet.
-
functionhas_action()
Checks if any action has been registered for a hook.
-
functionhas_filter()
Checks if any filter has been registered for a hook.
-
functionwp_get_user_contact_methods()
Sets up the user contact methods.
-
functioncount_many_users_posts()
Gets the number of posts written by a list of users.
-
functionget_taxonomy_template()
Retrieves path of custom taxonomy term template in current or parent template.
-
functionwp_trash_comment()
Moves a comment to the Trash