Hooks
-
hookpre_upload_error
Filters whether to preempt the XML-RPC media upload.
-
Filters a user’s description before the user is created or updated.
-
Filters a user’s display name before the user is created or updated.
-
hookpre_user_email
Filters a user’s email before the user is created or updated.
-
Filters a user’s first name before the user is created or updated.
-
hookpre_user_id
Filters the comment author’s user ID before it is set.
-
Filters a user’s last name before the user is created or updated.
-
hookpre_user_login
Filters a username after it has been sanitized.
-
Filters a user’s nicename before the user is created or updated.
-
Filters a user’s nickname before the user is created or updated.
-
hookpre_user_query
Fires after the WP_User_Query has been parsed, and before the query is executed.
-
hookpre_user_search
-
hookpre_user_url
Filters a user’s URL before the user is created or updated.
-
Filters the value of a user field in the ‘db’ context.
-
hookpre_wp_filesize
Filters the result of wp_filesize before the PHP function is run.
-
Short-circuits the process of detecting errors related to HTTPS support.
-
Filters whether to short-circuit loading optimization attributes.
-
Filters the check for whether a site is initialized before the database is accessed.
-
Filters the array of alloptions before it is populated.
-
hookpre_wp_mail
Filters whether to preempt sending an email.
-
Filters the file list used for calculating a unique filename for a newly added file.
-
Filters the post slug before it is generated to be unique.
-
Filters a post’s comment count before it is updated in the database.
-
Short-circuits the process of detecting errors related to HTTPS support.
-
hookpre_{$field}
Filters the value of a specific post field before saving.
-
Filters a taxonomy field before it is sanitized.
-
Filters whether to print the admin styles.