Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors 4.20.0 has 24 actions and 142 filters, read directly from its source code on Nov 17, 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 Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors fires an action
add_action( 'multiple_authors_admin_menu_page', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors is about to use
add_filter( 'multiple_authors_author_fields', function( $value, $author ) {
// Change $value here.
return $value;
}, 10, 2 );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 the fields on the Author's profile. */ apply_filters( 'multiple_authors_author_fields', self::get_fields($author), $author ); -
/** * Filter the list of available layouts. */ apply_filters( 'pp_multiple_authors_author_layouts', [] ); -
/** * Filter the fields on the Author boxes editor. */ apply_filters( 'multiple_authors_author_boxes_fields', self::get_fields($post), $post ); -
widget_title
filter/** * This filter is documented in core/src/wp-includes/default-widgets.php */ apply_filters( 'widget_title', isset($instance['title']) ? esc_html($instance['title']) : '', $instance, $this->id_base ); -
multiple_authors_get_avatar
filter/** * This filter is documented in core/Classes/Objects/Author.php */ apply_filters( 'multiple_authors_get_avatar', $avatar, $this, $size ); -
author_boxes_editor_fields
filter/** * Customize fields presented in the author boxes editor. */ apply_filters( 'author_boxes_editor_fields', $fields, $post ); -
/** * Customize fields tabs presented in the author boxes editor. */ apply_filters( 'authors_boxes_editor_fields_tabs', $fields_tabs, $post ); -
authors_default_author
filter/** * Filter the default author assigned to the post. */ apply_filters( 'authors_default_author', $defaultAuthor, $post ); -
authors_editor_fields
filter/** * Customize fields presented in the author editor. */ apply_filters( 'authors_editor_fields', $fields, $author ); -
authors_editor_fields_tabs
filter/** * Customize fields tabs presented in the author editor. */ apply_filters( 'authors_editor_fields_tabs', $fields_tabs, $author ); -
authors_lists_editor_fields
filter/** * Customize author lists fields. */ apply_filters( 'authors_lists_editor_fields', $fields, $author_fields ); -
authors_post_types
filter/** * Modify post types that use authors. */ apply_filters_deprecated( 'authors_post_types', [self::$supported_post_types], '3.5.0', 'publishpress_authors_supported_post_types' ); -
authors_posts_links
filter/** * Arguments for determining the display of authors with posts links */ apply_filters( 'authors_posts_links', $args, $author ); -
/** * Filter the fields tabs on the Author boxes editor. */ apply_filters( 'multiple_authors_author_boxes_fields_tabs', self::get_fields_tabs($post), $post ); -
/** * Allow dev to filter style locaction between footer and inline */ apply_filters( 'multiple_authors_author_boxes_style_location', 'footer' ); -
/** * Filter the fields tabs on the Author's profile. */ apply_filters( 'multiple_authors_author_fields_tabs', self::get_fields_tabs($author), $author ); -
/** * Filters avatar alt. */ apply_filters( 'multiple_authors_avatar_alt_text', null, $this, $urls, $size ); -
multiple_authors_downgrade
action/** * Action called when the module is downgraded. */ do_action( 'multiple_authors_downgrade', $previous_version ); -
multiple_authors_install
action/** * Action called when the module is installed. */ do_action( 'multiple_authors_install', $current_version ); -
/** * Filters whether to retrieve the avatar early. */ apply_filters( 'multiple_authors_pre_get_avatar', null, $this, $size ); -
multiple_authors_upgrade
action/** * Action called when the module is upgraded. */ do_action( 'multiple_authors_upgrade', $previous_version ); -
/** * Filter whether to flush rewrite rules on user profile update. */ apply_filters( 'pp_authors_should_flush_rewrite_rules_on_user_profile_update', true, $userId, $oldUserData, $author ); -
/** * Filter the author box arguments before sending to the renderer. */ apply_filters( 'pp_multiple_authors_author_box_args', $args ); -
/** * Filter the author box HTML code, allowing to use custom rendered layouts. */ apply_filters( 'pp_multiple_authors_author_box_html', null, $args ); -
/** * Filter the rendered markup of the author box. */ apply_filters( 'pp_multiple_authors_author_box_rendered_markup', $html, $authors_iterator, $target ); -
/** * Filter the final author fields allowed for public author list searches. */ apply_filters( 'pp_multiple_authors_author_list_allowed_search_fields', $allowed_fields, $configured_fields, $public_fields, $sensitive_fields, $instance ); -
/** * Filter public-safe author fields available to author list searches. */ apply_filters( 'pp_multiple_authors_author_list_public_search_fields', ['first_name', 'last_name'], $instance ); -
/** * Filter sensitive author fields excluded from public author list searches by * default. */ apply_filters( 'pp_multiple_authors_author_list_sensitive_search_fields', ['user_email', 'user_id'], $instance ); -
/** * Filter the author's properties. */ apply_filters( 'pp_multiple_authors_author_properties', $properties ); -
/** * Filter the author box arguments before sending to the renderer. */ apply_filters( 'pp_multiple_authors_authors_list_box_args', $args ); -
/** * Filter the author box HTML code, allowing to use custom rendered layouts. */ apply_filters( 'pp_multiple_authors_authors_list_box_html', null, $args ); -
/** * Filter the rendered markup of the author box. */ apply_filters( 'pp_multiple_authors_filter_author_box_markup', $html, $authors_iterator, $target ); -
/** * Filter author query args */ apply_filters( 'pp_multiple_authors_get_all_authors_args', $args, $instance ); -
/** * Arguments for changing author result */ apply_filters( 'pp_multiple_authors_get_all_authors_result', $authors, $args, $instance ); -
/** * Filter author terms query */ apply_filters( 'pp_multiple_authors_get_all_authors_term_count_query', $term_count_query, $args, $instance ); -
/** * Filter author terms query */ apply_filters( 'pp_multiple_authors_get_all_authors_term_query', $term_query, $args, $instance ); -
ppma_admin_notice
filter/** * Filters the custom admin notice for ppma. */ apply_filters( 'ppma_admin_notice', $messagewrapstart . $message . $messagewrapend, $action, $message, $messagewrapstart, $messagewrapend ); -
ppma_author_posts_count
filter/** * Filter author posts count. */ apply_filters( 'ppma_author_posts_count', $counts, $term_id, $post_type ); -
/** * Filters author posts count expire days. */ apply_filters( 'ppma_author_posts_count_cache_expire_days', $expire_days, $term_id, $post_type ); -
/** * Filters the DISTINCT clause of the query. */ apply_filters( 'ppma_author_posts_count_distinct', $distinct, $term_id, $post_type ); -
ppma_author_posts_count_join
filter/** * Filters the JOIN clause of the query. */ apply_filters( 'ppma_author_posts_count_join', $join, $term_id, $post_type ); -
/** * Filters the whole count query. */ apply_filters( 'ppma_author_posts_count_query', $query, $term_id, $post_type ); -
/** * Filters the WHERE clause of the query. */ apply_filters( 'ppma_author_posts_count_where', $where, $term_id, $post_type ); -
ppma_shortcodes
filter/** * Filter shortcodes. */ apply_filters( 'ppma_shortcodes', $shortcodes ); -
/** * Filter the index title mapping for different languages */ apply_filters( 'publishpress_authors_index_titles', $index_titles ); -
/** * Modify post types that use authors. */ apply_filters( 'publishpress_authors_supported_post_types', self::$supported_post_types ); -
wpml_register_single_string
action/** * Register strings for wpml translation */ do_action( 'wpml_register_single_string', 'PublishPress Authors', '#'.$term_id.' '.$args['label'], $sanitize($_POST['authors-' . $key]) ); -
apply_filters( 'pp_multiple_authors_manage_categories_cap', 'ppma_manage_author_categories' ); -
do_action( 'publishpress_authors_flush_cache_for_post', $args ); -
apply_filters( 'pp_multiple_authors_manage_layouts_cap', 'ppma_manage_layouts' ); -
do_action( 'publishpress_authors_flush_cache' ); -
apply_filters( 'pp_multiple_authors_manage_authors_cap', 'ppma_manage_authors' ); -
apply_filters( 'pp_multiple_authors_manage_custom_fields_cap', 'ppma_manage_custom_fields' ); -
do_action( 'publishpress_author_categories_flush_cache', $category_id ); -
apply_filters( 'publishpress_authors_load_style_in_frontend', PUBLISHPRESS_AUTHORS_LOAD_STYLE_IN_FRONTEND ); -
do_action( 'publishpress_authors_post_authors_metabox_action_saved', $post_id ); -
apply_filters( 'multiple_authors_validate_module_settings', array_diff_key($values, ['license_key' => true, 'license_status' => true]), 'multiple_authors' ); -
apply_filters( 'pp_multiple_authors_pages_layout', [ 'list' => __('List', 'publishpress-authors'), 'grid' => __('Grid', 'publishpress-authors'), ] ); -
apply_filters( 'ppma_authors_editor_user_result_limit', 20 ); -
apply_filters( 'ppma_rest_api_authors_meta_excluded_fields', ['user_id', 'avatar'] ); -
apply_filters( 'publishpress_authors_filter_posts_list_where', $where, $query, $term ); -
authors_query_post_author
filterapply_filters( 'authors_query_post_author', false ); -
coauthors_default_after
filterapply_filters( 'coauthors_default_after', $default_after ); -
coauthors_default_before
filterapply_filters( 'coauthors_default_before', $default_before ); -
coauthors_default_between
filterapply_filters( 'coauthors_default_between', $default_between ); -
apply_filters( 'coauthors_default_between_last', $default_between_last ); -
coauthors_edit_author_cap
filterapply_filters( 'coauthors_edit_author_cap', 'edit_posts' ); -
apply_filters( 'coauthors_edit_ignored_authors', $ignored_authors ); -
coauthors_open_graph_tags
filterapply_filters( 'coauthors_open_graph_tags', $og_tags ); -
coauthors_plus_edit_authors
filterapply_filters( 'coauthors_plus_edit_authors', $can_set_authors ); -
apply_filters( 'coauthors_plus_should_query_post_author', true ); -
coauthors_posts_link
filterapply_filters( 'coauthors_posts_link', $args, $author ); -
apply_filters( 'coauthors_search_authors_get_terms_args', $args ); -
apply_filters_deprecated( 'coauthors_supported_post_types', [$post_types_with_authors], '3.5.0', 'publishpress_authors_supported_post_types' ); -
comment_notification_headers
filterapply_filters( 'comment_notification_headers', $message_headers, $comment_id ); -
comment_notification_subject
filterapply_filters( 'comment_notification_subject', $subject, $comment_id ); -
comment_notification_text
filterapply_filters( 'comment_notification_text', $notify_message, $comment_id ); -
editable_roles
filterapply_filters( 'editable_roles', wp_roles()->roles ); -
get_authornumposts
filterapply_filters( 'get_authornumposts', $count, $author ); -
apply_filters( 'MA_Author_Boxes_default_options', $args['default_options'] ); -
apply_filters( 'ma_author_boxes_editor_default_tab', 'title' ); -
apply_filters( 'MA_Author_Categories_default_options', $args['default_options'] ); -
apply_filters( 'MA_Author_Custom_Fields_default_options', $args['default_options'] ); -
apply_filters( 'MA_Author_List_default_options', $args['default_options'] ); -
apply_filters( 'MA_Author_Pages_default_options', $args['default_options'] ); -
multiple_authors_{$action}
actiondo_action( "multiple_authors_{$action}" ); -
do_action_ref_array( 'multiple_authors_after_setup_actions', [$this] ); -
apply_filters( 'multiple_authors_get_author_boxes_layout_meta_values', $editor_data, $post_id, $use_default ); -
multiple_authors_init
actiondo_action( 'multiple_authors_init' ); -
do_action( 'multiple_authors_module_options_loaded' ); -
do_action( 'multiple_authors_module_registered', $name ); -
do_action( 'multiple_authors_modules_loaded' ); -
apply_filters( 'multiple_authors_supported_module_post_types', $postTypes ); -
apply_filters( 'multiple_authors_supported_module_post_types_args', $pt_args, $module ); -
plublishpress_authors_loaded
actiondo_action( 'plublishpress_authors_loaded' ); -
apply_filters( 'pp_all_in_one_seo_pack_integration_default_options', $args['default_options'] ); -
apply_filters( 'pp_author_ultimate_post_author_prefix', __('By', 'publishpress-authors') ); -
apply_filters( 'pp_authors_filter_map_meta_cap', $caps, $cap, $user_id, $post_id ); -
apply_filters( 'pp_authors_filter_term_map_meta_cap', $caps, $cap, $user_id, $term_id ); -
pp_authors_install
actiondo_action( 'pp_authors_install', $currentVersion ); -
apply_filters( 'pp_authors_maintenance_actions', $actions ); -
apply_filters( 'pp_authors_permissions_sync_author_slug_batch_delay', MINUTE_IN_SECONDS ); -
apply_filters( 'pp_authors_permissions_sync_author_slug_batch_size', PUBLISHPRESS_AUTHORS_SYNC_AUTHOR_SLUG_CHUNK_SIZE ); -
apply_filters( 'pp_authors_permissions_sync_author_slug_max_runtime', 15 ); -
apply_filters( 'pp_authors_permissions_sync_author_slug_stale_notice_after', 6 * HOUR_IN_SECONDS ); -
pp_authors_register_settings
actiondo_action( 'pp_authors_register_settings' ); -
pp_authors_upgrade
actiondo_action( 'pp_authors_upgrade', $currentVersions ); -
apply_filters( 'pp_authors_validate_module_settings', $new_options, $module_name ); -
apply_filters( 'pp_byline_migration_default_options', $args['default_options'] ); -
apply_filters( 'pp_bylines_migration_default_options', $args['default_options'] ); -
pp_debug_default_options
filterapply_filters( 'pp_debug_default_options', $args['default_options'] ); -
apply_filters( 'pp_divi_integration_default_options', $args['default_options'] ); -
apply_filters( 'pp_editflow_integration_default_options', $args['default_options'] ); -
apply_filters( 'pp_elementor_integration_default_options', $args['default_options'] ); -
apply_filters( 'pp_generatepress_integration_default_options', $args['default_options'] ); -
apply_filters( 'pp_genesis_integration_default_options', $args['default_options'] ); -
apply_filters( 'pp_molongui_authorship_migration_default_options', $args['default_options'] ); -
apply_filters( 'pp_multiple_authors_author_attribute', null, $this->term_id, $attribute ); -
apply_filters( 'pp_multiple_authors_default_layout', $default_layout ); -
apply_filters( 'pp_multiple_authors_default_options', $args['default_options'] ); -
apply_filters( 'pp_multiple_authors_edit_own_profile_cap', 'ppma_edit_own_profile' ); -
apply_filters( 'pp_multiple_authors_edit_post_authors', 'ppma_edit_post_authors' ); -
apply_filters( 'pp_multiple_authors_filter_should_display_author_box', $display ); -
apply_filters( 'pp_multiple_authors_generatepress_box_layout', 'inline' ); -
apply_filters( 'pp_multiple_authors_manage_settings_cap', 'manage_options' ); -
apply_filters( 'pp_multiple_authors_post_types', $post_types ); -
do_action( 'pp_multiple_authors_show_author_box', false, $layout, false, true, $post->ID ); -
apply_filters( 'pp_polylang_integration_default_options', $args['default_options'] ); -
apply_filters( 'pp_rank_math_seo_integration_default_options', $args['default_options'] ); -
pp_rest_api_default_options
filterapply_filters( 'pp_rest_api_default_options', $args['default_options'] ); -
pp_seoframeworkault_options
filterapply_filters( 'pp_seoframeworkault_options', $args['default_options'] ); -
apply_filters( 'pp_ultimate_post_integration_default_options', $args['default_options'] ); -
apply_filters( 'pp_ultimatemember_integration_default_options', $args['default_options'] ); -
apply_filters( 'pp_wpengine_integration_default_options', $args['default_options'] ); -
apply_filters( 'pp_yoast_seo_integration_default_options', $args['default_options'] ); -
apply_filters( 'ppma_author_list_display_fields', $display_fields ); -
apply_filters( 'ppma_authors_editor_post_result_limit', 20 ); -
apply_filters( 'ppma_editor_author_box_settings', $editor_author_box, $post_id ); -
ppma_kill_add_caps_to_role
filterapply_filters( 'ppma_kill_add_caps_to_role', false, $role, $caps ); -
ppma_module_dirs
filterapply_filters( 'ppma_module_dirs', $defaultDirs ); -
ppma_rest_api_authors_data
filterapply_filters( 'ppma_rest_api_authors_data', $authorsData ); -
ppma_reviews_default_options
filterapply_filters( 'ppma_reviews_default_options', $args['default_options'] ); -
apply_filters( 'publishpress_authors_allow_author_multiple_categories', $enabled ); -
apply_filters( 'publishpress_authors_author_attribute', $return, $this->term_id, $attribute, $this ); -
apply_filters( 'publishpress_authors_elementor_posts_skin_cards_byline', implode(', ', $authorNames), $authorNames, $authors ); -
apply_filters( 'publishpress_authors_elementor_posts_skin_classic_byline', implode(', ', $authorNames), $authorNames, $authors ); -
apply_filters( 'publishpress_authors_flush_rewrite_rules', PUBLISHPRESS_AUTHORS_FLUSH_REWRITE_RULES ); -
apply_filters( 'publishpress_authors_has_active_integrations', false ); -
apply_filters( 'publishpress_authors_hide_author_taxonomy_in_block_editor', true, $taxonomy, $request ); -
apply_filters( 'publishpress_authors_index_character_mapping', $character_map ); -
apply_filters( 'publishpress_authors_layout_post_property_isset', $isset, $this->postObject, $name ); -
apply_filters( 'publishpress_authors_layout_post_property_value', null, $this->postObject, $attribute ); -
do_action( 'publishpress_authors_mcp_register' ); -
apply_filters( 'publishpress_authors_post_types_to_force_author_support', $postTypesToForceAuthorsSupport ); -
apply_filters( 'publishpress_authors_posts_query_post_types', [] ); -
apply_filters( 'publishpress_authors_ppma_filter_no_found_rows', true, $query ); -
do_action( 'publishpress_authors_register_settings_after' ); -
do_action( 'publishpress_authors_register_settings_before', $this->module->options_group_name, $this->module->options_group_name . '_general' ); -
apply_filters( 'publishpress_authors_remove_single_user_map_restriction', $remove ); -
apply_filters( 'publishpress_authors_skip_installation', false, $previous_version, $current_version ); -
apply_filters( 'publishpress_multiple_authors_settings_tabs', [] ); -
rank_math/schema/language
filterapply_filters( 'rank_math/schema/language', get_bloginfo('language') );
Generated from Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: