WPDev.one
Event Triggers

Actions Reference

240+ event triggers available in WordPress core. Hooks that fire at specific times during WordPress execution to run your custom code.

Showing 51 to 100 of 240 actions (Page 2 of 5)
welcome_panel

Fires when adding content to the welcome panel on the admin dashboard. To remove the default welcome panel, use remove_action(): remove_action( 'welcome_panel', 'wp_welcome_panel' );

wp_authorize_application_password_form_approved_no_js

Fires in the Authorize Application Password new password section in the no-JS version. In most cases, this should be used in combination with the {@see 'wp_application_passwords_approve_app_request_success'} action to ensure that both the JS and no-JS variants are handled.

3 arguments
wp_authorize_application_password_form

Fires in the Authorize Application Password form before the submit buttons. The array of request data. All arguments are optional and may be empty. }

2 arguments
post_action_{$action}

Fires for a given custom post action request. The dynamic portion of the hook name, `$action`, refers to the custom post action.

1 argument
media_upload_{$type}

Fires inside specific upload-type views in the legacy (pre-3.5.0) media popup based on the current tab. The dynamic portion of the hook name, `$type`, refers to the specific media upload type. The hook only fires if the current `$tab` is 'type' (From Computer), 'type_url' (From URL), or, if the tab does not exist (i.e., has not been registered via the {@see 'media_upload_tabs'} filter. Possible hook names include: - `media_upload_audio` - `media_upload_file` - `media_upload_image` - `media_upload_video`

media_upload_{$tab}

Fires inside limited and specific upload-tab views in the legacy (pre-3.5.0) media popup. The dynamic portion of the hook name, `$tab`, refers to the specific media upload tab. Possible values include 'library' (Media Library), or any custom tab registered via the {@see 'media_upload_tabs'} filter.

blog_privacy_selector

Enables the legacy 'Site visibility' privacy options. By default the privacy options form displays a single checkbox to 'discourage' search engines from indexing the site. Hooking to this action serves a dual purpose: 1. Disable the single checkbox in favor of a multiple-choice list of radio buttons. 2. Open the door to adding additional radio button choices to the list. Hooking to this action also converts the 'Search engine visibility' heading to the more open-ended 'Site visibility' heading.

export_filters

Fires at the end of the export filters form.

wpmuadminedit

This action is documented in wp-admin/network/edit.php

activate_blog

Fires after a network site is activated.

1 argument
deactivate_blog

Fires before a network site is deactivated.

1 argument
wpmuadminedit

This action is documented in wp-admin/network/edit.php

update_wpmu_options

Fires after the network options are updated.

wpmu_options

Fires at the end of the Network Settings form, before the submit button.

pre_network_site_new_created_user

Fires immediately before a new user is created via the network site-new.php page.

1 argument
network_site_new_created_user

Fires after a new user has been created via the network site-new.php page.

1 argument
network_site_new_form

Fires at the end of the new site form in network admin.

after_mu_upgrade

Fires after the Multisite DB upgrade for each site is complete.

1 argument
wpmu_upgrade_site

Fires after each site has been upgraded.

1 argument
wpmu_upgrade_page

Fires before the footer on the network upgrade screen.

wpmuadminedit

This action is documented in wp-admin/network/edit.php

wpmu_update_blog_options

Fires after the site options are updated.

1 argument
wpmueditblogaction

Fires at the end of the Edit Site form, before the submit button.

1 argument
network_user_new_created_user

Fires after a new user has been created via the network user-new.php page.

1 argument
network_user_new_form

Fires at the end of the new user form in network admin.

wpmuadminedit

Fires just before the action handler in several Network Admin screens. This hook fires on multiple screens in the Multisite Network Admin, including Users, Network Settings, and Site Settings.

network_admin_edit_{$action}

Fires the requested handler action. The dynamic portion of the hook name, `$action`, refers to the name of the requested action derived from the `GET` request.

network_site_info_form

Fires at the end of the site info form in network admin.

1 argument
network_site_users_created_user

Fires after a user has been created via the network site-users.php page.

1 argument
network_site_users_after_list_table

Fires after the list table on the Users screen in the Multisite Network Admin.

after_menu_locations_table

Fires after the menu locations table is displayed.

_network_admin_menu

Fires before the administration menu loads in the Network Admin. The hook fires before menus and sub-menus are removed based on user privileges.

_user_admin_menu

Fires before the administration menu loads in the User Admin. The hook fires before menus and sub-menus are removed based on user privileges.

_admin_menu

Fires before the administration menu loads in the admin. The hook fires before menus and sub-menus are removed based on user privileges.

network_admin_menu

Fires before the administration menu loads in the Network Admin.

1 argument
user_admin_menu

Fires before the administration menu loads in the User Admin.

1 argument
admin_menu

Fires before the administration menu loads in the admin.

1 argument
admin_page_access_denied

Fires when access to an admin page is denied.

add_meta_boxes

This action is documented in wp-admin/includes/meta-boxes.php

2 arguments
add_meta_boxes_link

Fires when link-specific meta boxes are added.

1 argument
do_meta_boxes

This action is documented in wp-admin/includes/meta-boxes.php

3 arguments
do_meta_boxes

This action is documented in wp-admin/includes/meta-boxes.php

3 arguments
do_meta_boxes

This action is documented in wp-admin/includes/meta-boxes.php

3 arguments
submitlink_box

This action is documented in wp-admin/includes/meta-boxes.php

adminmenu

Fires after the admin menu has been output.

core_upgrade_preamble

Fires after the core, plugin, and theme update tables.

update-core-custom_{$action}

Fires for each custom update action on the WordPress Updates screen. The dynamic portion of the hook name, `$action`, refers to the passed update action. The hook fires in lieu of all available default update actions.

add_meta_boxes

This action is documented in wp-admin/includes/meta-boxes.php

2 arguments
add_meta_boxes_comment

Fires when comment-specific meta boxes are added.

1 argument
activate_{$plugin}

This action is documented in wp-admin/includes/plugin.php