WP Extended 3.4.4 has 17 actions and 82 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when WP Extended fires an action
add_action( 'wpextended/user-switching/clear_olduser_cookie', function() {
// Your code runs here.
}, 10, 1 );
// Change a value WP Extended is about to use
add_filter( 'wpextended/user-switching/send_auth_cookies', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Filter whether to send authentication cookies to the client. */ apply_filters( 'wpextended/user-switching/send_auth_cookies', true ); -
/** * This filter is documented in wp-includes/pluggable.php */ apply_filters( 'auth_cookie_expiration', 172800, get_current_user_id(), false ); -
/** * This filter is documented in wp-login.php */ apply_filters( 'login_redirect', $redirectTo, $requestedRedirectTo, $newUser ); -
/** * This filter is documented in wp-login.php */ apply_filters( 'logout_redirect', $redirectTo, $requestedRedirectTo, $oldUser ); -
/** * Filter the list of blocked usernames. */ apply_filters( 'wpextended/block-usernames/blocked_usernames', $default_usernames ); -
/** * Filter the list of ignored usernames. */ apply_filters( 'wpextended/block-usernames/ignored_usernames', $ignored_usernames, $username ); -
/** * Filter the field value for a specific field */ apply_filters( "wpextended/export-posts/field_{$field}_value", $value, $post, $export_type ); -
/** * Filter the field value before adding to export */ apply_filters( 'wpextended/export-posts/field_value', $value, $field, $label, $post, $export_type ); -
/** * Filter the fields and their labels before processing */ apply_filters( 'wpextended/export-posts/fields', $fields, $post_ids, $export_type ); -
/** * Filter the export filename */ apply_filters( 'wpextended/export-posts/filename', $filename, $post_ids, $export_type ); -
/** * Filter the headers before processing */ apply_filters( 'wpextended/export-posts/headers', $headers, $fields, $export_type ); -
/** * Filter the entire row data before adding to export */ apply_filters( 'wpextended/export-posts/row_data', $row, $post, $fields, $export_type ); -
/** * Filter the content type for the export format */ apply_filters( 'wpextended/export-users/content_type', $content_type, $type ); -
/** * Filter the field value for a specific field */ apply_filters( "wpextended/export-users/field_{$field}_value", $value, $user, $export_type ); -
/** * Filter the field value before adding to export */ apply_filters( 'wpextended/export-users/field_value', $value, $field, $label, $user, $export_type ); -
/** * Filter the fields and their labels before processing */ apply_filters( 'wpextended/export-users/fields', $fields, $user_ids, $export_type ); -
/** * Filter the export filename */ apply_filters( 'wpextended/export-users/filename', $filename, $user_ids, $export_type ); -
/** * Filter the headers before processing */ apply_filters( 'wpextended/export-users/headers', $headers, $fields, $export_type ); -
/** * Filter the entire row data before adding to export */ apply_filters( 'wpextended/export-users/row_data', $row, $user, $fields, $export_type ); -
/** * Filter the enabled post types for folder manager */ apply_filters( 'wpextended/folder-manager/enabled_post_types', $post_types, $this ); -
/** * Filter whether a post type is enabled for folder manager */ apply_filters( 'wpextended/folder-manager/is_post_type_enabled', $is_enabled, $post_type, $this ); -
/** * Filter the table columns */ apply_filters( 'wpextended/limit-login-attempts/table_columns', $columns ); -
/** * Filter admin bar node args. Pro uses this to change href to '#' for toggle. */ apply_filters( 'wpextended/maintenance-mode/admin_bar_node', $node_args, $is_active ); -
/** * Fires just before the user switching cookies are cleared. */ do_action( 'wpextended/user-switching/clear_olduser_cookie' ); -
/** * Filters the old user object retrieved from the cookie. */ apply_filters( 'wpextended/user-switching/current_old_user', $old_user ); -
/** * Filters the result of the switch off operation. */ apply_filters( 'wpextended/user-switching/do_switch_off', $success ); -
/** * Filters the final redirect URL for user switching operations. */ apply_filters( 'wpextended/user-switching/get_redirect', $redirectTo, $newUser, $oldUser ); -
/** * Filters the login screen message when a user is switching or has switched. */ apply_filters( 'wpextended/user-switching/login_message', $message ); -
/** * Filters the redirect location after a user switches to another account or * switches off */ apply_filters( 'wpextended/user-switching/redirect_to', $redirectTo, $redirectType, $newUser, $oldUser ); -
/** * Fires immediately before the User Switching authentication cookie is set. */ do_action( 'wpextended/user-switching/set_auth_cookie', $auth_cookie, $expiration, $old_user_id, $scheme, $token ); -
/** * Fires immediately before the User Switching old user cookie is set. */ do_action( 'wpextended/user-switching/set_olduser_cookie', $olduser_cookie, $expiration, $old_user_id, $scheme, $token ); -
/** * Fires when a user switches back to their originating account. */ do_action( 'wpextended/user-switching/switch_back_user', $user_id, $old_user_id, $new_token, $old_token ); -
/** * Fires when a user switches off. */ do_action( 'wpextended/user-switching/switch_off_user', $old_user_id, $old_token ); -
/** * Filters the URL for switching to a user. */ apply_filters( 'wpextended/user-switching/switch_to_url', $url, $user ); -
/** * Fires when a user switches to another user account. */ do_action( 'wpextended/user-switching/switch_to_user', $user_id, $old_user_id, $new_token, $old_token ); -
apply_filters( 'wpextended/maintenance-mode/is_active', true ); -
apply_filters( 'wpextended/maintenance-mode/show_maintenance_page', $show_maintenance ); -
do_action( 'wpextended/smtp-email/email_fail', $to, $subject, $status, $errorReason, $this ); -
do_action( 'wpextended/smtp-email/email_sent', $to, $subject, $status, $errorReason, $this ); -
do_action( 'wpextended/smtp-email/email_success', $to, $subject, $status, $errorReason, $this ); -
do_action( "{$this->hookPrefix()}/before_reset", $this->moduleId ); -
apply_filters( 'active_plugins', get_option('active_plugins') ); -
apply_filters( "wpextended/{$this->moduleName}/export/{$hook}", $value, ...$args ); -
apply_filters( 'wpextended/classic-editor/disable_gutenberg', false, $post_type ); -
apply_filters( 'wpextended/clean-profiles/field_selectors', $selectors ); -
apply_filters( 'wpextended/clean-profiles/fields', $fields ); -
apply_filters( 'wpextended/clean-profiles/section_selectors', $selectors ); -
apply_filters( 'wpextended/clean-profiles/sections', $sections ); -
apply_filters( 'wpextended/disk_usage/thresholds', $thresholds ); -
do_action( 'wpextended/duplicate-post/after_duplicate', $newPostId, $postId, $elements ); -
apply_filters( 'wpextended/duplicate-post/allowed_meta_keys', $allowedKeys, $elements, $sourceId ); -
apply_filters( 'wpextended/duplicate-post/available_elements', self::base() ); -
apply_filters( 'wpextended/duplicate-post/default_elements', $defaults ); -
apply_filters( 'wpextended/duplicate-post/elements', $elements, $postId ); -
apply_filters( 'wpextended/duplicate-post/excluded_meta', $this->excludedMeta ); -
apply_filters( 'wpextended/duplicate-post/excluded_meta_keys', $excludedMeta, $sourceId, $targetId, $elements ); -
apply_filters( 'wpextended/duplicate-post/excluded_post_types', $this->excludedPostTypes ); -
apply_filters( 'wpextended/duplicate-post/excluded_taxonomies', array(), $sourceId, $targetId ); -
apply_filters( 'wpextended/duplicate-post/integrations', $this->integrations ); -
apply_filters( 'wpextended/duplicate-post/is_enabled', true, $screen ); -
apply_filters( 'wpextended/duplicate-post/post_data', $newPost, $post, $elements ); -
apply_filters( 'wpextended/duplicate-post/post_status', $status, $postId ); -
apply_filters( 'wpextended/duplicate-post/post_title', $title, $postId ); -
apply_filters( 'wpextended/duplicate-post/should_copy_meta', true, $key, $values, $sourceId, $targetId ); -
apply_filters( 'wpextended/duplicate-post/should_copy_taxonomy', true, $taxonomy, $sourceId, $targetId ); -
apply_filters( 'wpextended/export-posts/default_fields', $fields ); -
apply_filters( 'wpextended/export-posts/exclude_post_types', array('attachment', 'elementor_library', 'e-landing-page') ); -
apply_filters( 'wpextended/export-posts/export_data', $data, $post_ids, $fields, $export_type ); -
apply_filters( 'wpextended/export-posts/translations', $i18n ); -
apply_filters( 'wpextended/export-users/can_export_self', true ); -
apply_filters( 'wpextended/export-users/default_fields', $fields ); -
apply_filters( 'wpextended/export-users/export_data', $data, $user_ids, $fields, $export_type ); -
apply_filters( "wpextended/export/{$hook}", $value, ...$args ); -
apply_filters( 'wpextended/external-permalinks/excluded_post_types', $this->excluded_post_types, $this ); -
apply_filters( 'wpextended/external-permalinks/redirect_status', 302, $post ); -
apply_filters( 'wpextended/external-permalinks/translations', $i18n ); -
apply_filters( 'wpextended/folder-manager/editor_script_data', $script_data, $post_type, $this ); -
apply_filters( 'wpextended/folder-manager/script_data', $script_data, $post_type, $this ); -
apply_filters( 'wpextended/limit-login-attempts/admin_email', get_option('admin_email') ); -
apply_filters( 'wpextended/limit-login-attempts/site_name', get_bloginfo('name') ); -
apply_filters( 'wpextended/link-manager/exclude_classes', $this->setExcludeClasses() ); -
apply_filters( 'wpextended/maintenance-mode/admin_bar_css', $css ); -
apply_filters( 'wpextended/maintenance-mode/admin_bar_title', __('Maintenance Mode Active', 'wpextended'), $wp_admin_bar ); -
do_action( 'wpextended/maintenance-mode/after_description' ); -
do_action( 'wpextended/maintenance-mode/before_description' ); -
apply_filters( 'wpextended/maintenance-mode/can_toggle', false ); -
do_action( 'wpextended/maintenance-mode/head' ); -
apply_filters( 'wpextended/maintenance-mode/layout', $layout_1, $data ); -
apply_filters( 'wpextended/maintenance-mode/layout_data', $data ); -
apply_filters( 'wpextended/maintenance-mode/page_header', array('status_code' => 503, 'headers' => $headers) ); -
apply_filters( 'wpextended/maintenance-mode/show_admin_bar_notice', $is_active ); -
apply_filters( 'wpextended/post-order/post_types', $postTypes ); -
apply_filters( 'wpextended/post-type-switcher/translations', $i18n ); -
apply_filters( 'wpextended/quick-add-post/excluded_post_types', $this->excludedPostTypes ); -
apply_filters( 'wpextended/quick-add-post/is_enabled', true, $screen ); -
apply_filters( 'wpextended/svg-upload/has_upload_permission', current_user_can('upload_files') );
Generated from WP Extended's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: