WP HOOKS

Użytkownicy

Hooki kont użytkowników, profili i uprawnień.

28 akcji87 filtrówrazem 115

Popularne w tej kategorii

Odpala się po aktualizacji profilu użytkownika. Otrzymuje ID użytkownika i jego poprzednie dane.

Dodaje własną walidację do formularza rejestracji użytkownika.

Dodaje własne pola do profilu użytkownika w panelu.

Filtruje uprawnienia użytkownika przy sprawdzaniu current_user_can().

Odpala się natychmiast po utworzeniu nowego użytkownika. Często używany do wysyłki e-maila powitalnego lub uzupełnienia metadanych.

Uruchamiany po pomyślnym zalogowaniu użytkownika. Otrzymuje login i obiekt użytkownika.

Wszystkie hooki

add_user_roleakcja

Fires immediately after the user has been given a new role.

after_password_resetakcja

Fires after the user's password is reset.

allow_password_resetfiltr

Filters whether to allow a password to be reset.

application_password_did_authenticateakcja

Fires after an application password was used for authentication.

application_password_failed_authenticationakcja

Fires when an application password failed to authenticate the user.

application_password_is_api_requestfiltr

Filters whether this is an API request that Application Passwords can be used on.

auth_{$object_type}_meta_{$meta_key}filtrdynamiczny

Filters whether the user is allowed to edit a specific meta key of a specific object type.

auth_{$object_type}_meta_{$meta_key}_for_{$object_subtype}filtrdynamiczny

Filters whether the user is allowed to edit a specific meta key of a specific object type and subtype.

author_linkfiltr

Filters the URL to the author's page.

check_is_user_spammedfiltr

Filters whether the user has been marked as a spammer.

clean_user_cacheakcja

Fires immediately after the given user's cache is cleaned.

determine_current_userfiltr

Filters the current user.

edit_user_{$field}filtrdynamiczny

Filters a user field value in the 'edit' context.

email_change_emailfiltr

Filters the contents of the email sent when the user's email is changed.

email_existsfiltr

Filters whether the given email exists.

found_users_queryfiltr

Filters SELECT FOUND_ROWS() query for the current WP_User_Query instance.

get_blogs_of_userfiltr

Filters the list of sites a user belongs to.

get_the_author_{$field}filtrdynamiczny

Filters the value of the requested user metadata.

get_user_option_{$option}filtrdynamiczny

Filters a specific user option value.

get_usernumpostsfiltr

Filters the number of posts a user has written.

grant_super_adminakcja

Fires before the user is granted Super Admin privileges.

granted_super_adminakcja

Fires after the user is granted Super Admin privileges.

illegal_user_loginsfiltr

Filters the list of disallowed usernames.

insert_custom_user_metafiltr

Filters a user's custom meta values and keys immediately after the user is created or updated and before any user meta is inserted or updated.

insert_user_metafiltr

Filters a user's meta values and keys immediately after the user is created or updated and before any user meta is inserted or updated.

is_multi_authorfiltr

Filters whether the site has more than one author with published posts.

lostpassword_errorsfiltr

Filters the errors encountered on a password reset request.

lostpassword_postakcja

Fires before errors are returned from a password reset request.

lostpassword_user_datafiltr

Filters the user data during a password reset request.

make_ham_userakcja

Fires after the user is marked as a HAM user. Opposite of SPAM.

make_spam_userakcja

Fires after the user is marked as a SPAM user.

map_meta_capfiltr

Filters the primitive capabilities required of the given user to satisfy the capability being checked.

new_user_email_contentfiltr

Filters the text of the email sent when a change of user email address is attempted.

password_change_emailfiltr

Filters the contents of the email sent when the user's password is changed.

password_hintfiltr

Filters the text describing the site's password complexity policy.

password_resetakcja

Fires before the user's password is reset.

password_reset_expirationfiltr

Filters the expiration time of password reset keys.

password_reset_key_expiredfiltr

Filters the return value of check_password_reset_key() when an old-style key or an expired key is used.

pre_count_many_users_postsfiltr

Filters whether to short-circuit performing the post counts.

pre_count_usersfiltr

Filters the user count before queries are run.

pre_get_blogs_of_userfiltr

Filters the list of a user's sites before it is populated.

pre_get_usersakcjareferencja

Fires before the WP_User_Query has been parsed.

pre_user_{$field}filtrdynamiczny

Filters the value of a user field in the 'db' context.

pre_user_descriptionfiltr

Filters a user's description before the user is created or updated.

pre_user_display_namefiltr

Filters a user's display name before the user is created or updated.

pre_user_emailfiltr

Filters a user's email before the user is created or updated.

pre_user_first_namefiltr

Filters a user's first name before the user is created or updated.

pre_user_last_namefiltr

Filters a user's last name before the user is created or updated.

pre_user_loginfiltr

Filters a username after it has been sanitized.

pre_user_nicenamefiltr

Filters a user's nicename before the user is created or updated.

pre_user_nicknamefiltr

Filters a user's nickname before the user is created or updated.

pre_user_queryakcjareferencja

Fires after the WP_User_Query has been parsed, and before the query is executed.

pre_user_urlfiltr

Filters a user's URL before the user is created or updated.

pre_wp_list_authors_post_counts_queryfiltr

Filters whether to short-circuit performing the query for author post counts.

profile_updateakcja

Fires immediately after an existing user is updated.

register_new_userakcja

Fires after a new user registration has been recorded.

register_postakcja

Fires when submitting registration form data, before the user is created.

registration_errorsfiltr

Filters the errors encountered when a new user is being registered.

remove_user_roleakcja

Fires immediately after a role as been removed from a user.

retrieve_passwordakcja

Fires before a new password is retrieved.

retrieve_password_keyakcja

Fires when a password reset key is generated.

retrieve_password_messagefiltr

Filters the message body of the password reset mail.

retrieve_password_notification_emailfiltr

Filters the contents of the reset password notification email sent to the user.

retrieve_password_titlefiltr

Filters the subject of the password reset email.

revoke_super_adminakcja

Fires before the user's Super Admin privileges are revoked.

revoked_super_adminakcja

Fires after the user's Super Admin privileges are revoked.

role_has_capfiltr

Filters which capabilities a role has.

secure_signon_cookiefiltr

Filters whether to use a secure sign-on cookie.

send_email_change_emailfiltr

Filters whether to send the email change email.

send_password_change_emailfiltr

Filters whether to send the password change email.

send_retrieve_password_emailfiltr

Filters whether to send the retrieve password email.

set_user_roleakcja

Fires after the user's role has changed.

the_authorfiltr

Filters the display name of the current post's author.

the_author_{$field}filtrdynamiczny

Filters the value of the requested user metadata.

the_author_linkfiltr

Filters the author URL link HTML.

the_author_posts_linkfiltr

Filters the link to the author page of the author of the current post.

the_modified_authorfiltr

Filters the display name of the author who last edited the current post.

user_{$field}filtrdynamiczny

Filters the value of a user field in a standard context.

user_contactmethodsfiltr

Filters the user contact methods.

user_erasure_fulfillment_email_contentfiltr

Filters the body of the data erasure fulfillment notification.

user_erasure_fulfillment_email_headersfiltr

Filters the headers of the data erasure fulfillment notification.

user_erasure_fulfillment_email_subjectfiltr

Filters the subject of the email sent when an erasure request is completed.

user_erasure_fulfillment_email_tofiltr

Filters the recipient of the data erasure fulfillment notification.

user_has_capfiltr

Dynamically filter a user's capabilities.

user_registerakcja

Fires immediately after a new user is registered.

user_registration_emailfiltr

Filters the email address of a user being registered.

user_request_action_confirmed_messagefiltr

Filters the message displayed to a user when they confirm a data request.

user_request_action_descriptionfiltr

Filters the user action description.

user_request_action_email_contentfiltr

Filters the text of the email sent when an account action is attempted.

user_request_action_email_headersfiltr

Filters the headers of the email sent when an account action is attempted.

user_request_action_email_subjectfiltr

Filters the subject of the email sent when an account action is attempted.

user_request_confirmed_email_contentfiltr

Filters the body of the user request confirmation email.

user_request_confirmed_email_headersfiltr

Filters the headers of the user request confirmation email.

user_request_confirmed_email_subjectfiltr

Filters the subject of the user request confirmation email.

user_request_confirmed_email_tofiltr

Filters the recipient of the data request confirmation notification.

user_request_key_expirationfiltr

Filters the expiration time of confirm keys.

user_search_columnsfiltr

Filters the columns to search in a WP_User_Query search.

username_existsfiltr

Filters whether the given username exists.

users_pre_queryfiltrreferencja

Filters the users array before the query takes place.

validate_usernamefiltr

Filters whether the provided username is valid.

wp_authenticateakcjareferencja

Fires before the user is authenticated.

wp_authenticate_application_password_errorsakcja

Fires when an application password has been successfully checked as valid.

wp_authenticate_userfiltr

Filters whether the given user can be authenticated with the provided password.

wp_dropdown_usersfiltr

Filters the wp_dropdown_users() HTML output.

wp_dropdown_users_argsfiltr

Filters the query arguments for the list of users in the dropdown.

wp_is_application_passwords_availablefiltr

Filters whether Application Passwords is available.

wp_is_application_passwords_available_for_userfiltr

Filters whether Application Passwords is available for a specific user.

wp_is_large_user_countfiltr

Filters whether the site is considered large, based on its number of users.

wp_list_authors_argsfiltr

Filters the query arguments for the list of all authors of the site.

wp_list_users_argsfiltr

Filters the query arguments for the list of all users of the site.

wp_loginakcja

Fires after the user has successfully logged in.

wp_pre_insert_user_datafiltr

Filters user data before the record is created or updated.

wp_privacy_additional_user_profile_datafiltr

Filters the user's profile data for the privacy exporter.

wp_roles_initakcja

Fires after the roles have been initialized, allowing plugins to add their own roles.

wp_update_userakcja

Fires after the user has been updated and emails have been sent.