PressForward 5.9.6 has 40 actions and 58 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 PressForward fires an action
add_action( 'pf_feed_inserted', function( $check ) {
// Your code runs here.
}, 10, 1 );
// Change a value PressForward is about to use
add_filter( 'pf_count_items', function( $counts, $parent_id, $perm ) {
// Change $counts here.
return $counts;
}, 10, 3 );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
-
/** * This filter is documented in wp-includes/post.php */ apply_filters( 'pf_count_items', $counts, $parent_id, $perm ); -
/** * Filter the feed fetch timeout. */ apply_filters( 'pf_feed_fetch_timeout', 60 ); -
/** * Fires after a feed is inserted into the database. */ do_action( 'pf_feed_inserted', $check ); -
/** * Filters the content of the "nomination promoted" notification email. */ apply_filters( 'pf_nomination_promoted_email_content', $message, $post->ID, $user->ID ); -
/** * Filters the subject line of the "nomination promoted" notification email. */ apply_filters( 'pf_nomination_promoted_email_subject', $subject, $post->ID, $user->ID ); -
/** * Filters the content of the "nomination success" notification email. */ apply_filters( 'pf_nomination_success_email_content', $message, $wp_post_id, (int) $post_author ); -
/** * Filters the subject line of the "nomination success" notification email. */ apply_filters( 'pf_nomination_success_email_subject', $subject, $wp_post_id, (int) $post_author ); -
/** * Filter to set the date for checking if the item is too old. */ apply_filters( 'pf_rss_ingestion_retrieve_after_date', $dead_date, $simplepie_feed, $item ); -
/** * Filters the max number of items that should be deleted during trash * collection. */ apply_filters( 'pressforward_delete_expired_feed_items_batch_size', 25 ); -
/** * Filters the 'draft' post type. */ apply_filters( 'pressforward_draft_post_type', $post_type ); -
/** * Filters the tag taxonomy for feed items. */ apply_filters( 'pressforward_feed_item_tag_taxonomy', 'pf_feed_item_tag' ); -
/** * Filters the content of an item before it is transitioned to a draft (ie * "last step"). */ apply_filters( 'pressforward_post_content_pre_draft', $post['post_content'], $post ); -
/** * Filters the content of a post before being converted to a nomination. */ apply_filters( 'pressforward_post_content_pre_nomination', $post['post_content'], $post ); -
/** * Pre-delete action for old feed item clean-up. */ apply_filters( 'pressforward_pre_delete_expired_feed_items', null, $query_for_del->posts ); -
/** * Filters the max batch size for processing the delete queue. */ apply_filters( 'pressforward_process_delete_queue_batch_size', 25 ); -
/** * Filters whether PF's "Link to source" dropdown should appear in the Publish * actions area. */ apply_filters( 'pressforward_show_link_to_source_dropdown', true ); -
/** * Filters whether to use the Block version of the Nominate This interface. */ apply_filters( 'pressforward_use_block_nominate_this', $use_block ); -
/** * Fires just before processing the SimplePie feed object. */ do_action_ref_array( 'wp_feed_options', array( &$feed, $url ) ); -
apply_filters( 'the_content', $text ); -
apply_filters( 'imported_rss_feeds', $feedlist ); -
apply_filters( 'pf_setup_admin_rights', $arrayed_admin_rights ); -
do_action( 'pf_transition_to_nomination', $id ); -
apply_filters( 'shortcut_link', $link ); -
apply_filters( 'ab_alert_specimens_check_dismiss_message', $alert_names['dismiss_all_check'] ); -
apply_filters( 'ab_alert_specimens_check_message', $alert_names['delete_all_check'] ); -
apply_filters( 'ab_alert_specimens_delete_all_text', $alert_names['delete_all'] ); -
apply_filters( 'ab_alert_specimens_dismiss_all_text', $alert_names['dismiss_all'] ); -
apply_filters( 'ab_alert_specimens_labels', $alert_names ); -
apply_filters( 'ab_alert_specimens_post_types', $post_types ); -
apply_filters( 'ab_alert_specimens_update_post_type', $post_status_d ); -
apply_filters( 'ab_bug_status_args', $default_args ); -
apply_filters( 'ab_excluded_post_types', $post_types_exclusions ); -
apply_filters( 'ab_include_post_types', $post_types ); -
do_action( 'about_to_insert_pf_feed_items', $item ); -
do_action( 'add_meta_boxes_nomthis', $empty_nomination ); -
do_action( 'admin_enqueue_scripts' ); -
do_action( 'admin_head' ); -
do_action( 'admin_print_scripts' ); -
do_action( 'admin_print_styles' ); -
do_action( 'already_a_feed_item', array( 'item' => $item, 'post_id' => $post_id_to_pass, ) ); -
do_action( 'ef_post_insert_editorial_comment', $comment ); -
apply_filters( 'ef_pre_insert_editorial_comment', $data ); -
do_action( 'establish_pf_metas', $post_id, $_POST ); -
do_action( 'feed_folders_registered' ); -
apply_filters( 'force_pf_log_print', $display ); -
do_action( 'nominate_this_sidebar_head' ); -
do_action( 'nominate_this_sidebar_top' ); -
do_action( 'nominations_box' ); -
apply_filters( "pf_{$this->type}_property_{$key}", $value, $this ); -
do_action( 'pf_admin_op_page' ); -
do_action( 'pf_admin_op_page_save' ); -
apply_filters( 'pf_admin_pages', $verify_pages ); -
do_action( 'pf_admin_user_settings' ); -
do_action( 'pf_amplify_buttons' ); -
apply_filters( 'pf_author_nominate_this_prompt', __( 'Enter Authors', 'pressforward' ) ); -
do_action( 'pf_comment_action_button', $comment_set ); -
do_action( 'pf_comment_action_modal', $comment_set ); -
do_action( "pf_do_{$page_slug}_tab_{$tab}" ); -
apply_filters( 'pf_feed_cron_check_batch_size', 100 ); -
do_action( 'pf_feed_item_post_type_registered' ); -
do_action( 'pf_feed_post_type_registered' ); -
apply_filters( 'pf_feedlist_args', $args ); -
apply_filters( 'pf_meta_terms', $metas ); -
do_action( 'pf_modal_comments', $id_for_comments ); -
do_action( 'pf_output_additional_modals', $item, $c, $format ); -
do_action( 'pf_output_items', $item, $c, $format ); -
do_action( 'pf_output_modal', $item, $c, $format ); -
apply_filters( 'pf_page_ids', $valid ); -
do_action( 'pf_post_established', $new_nom_id, $item_id, $parent_feed_id ); -
apply_filters( 'pf_post_type_to_level', $mapping ); -
apply_filters( 'pf_qualified_stats_post_query', $args ); -
apply_filters( 'pf_register_feed_item_post_type_args', array( 'label' => $labels['name'], 'labels' => $labels, 'description' => __( 'Feed items imported by PressForward’s RSS Importer', 'pressforward' ), 'public' => false, 'show_ui' => true, 'show_in_admin_bar' => false, 'show_in_rest' => true, 'rest_base' => 'feed_items', 'rest_namespace' => 'pf/v1', 'rest_controller_class' => 'PF_REST_Posts_Controller', 'capability_type' => $this->post_type... ); -
apply_filters( 'pf_register_feed_item_tag_taxonomy_args', array( 'labels' => $labels, 'public' => true, 'show_admin_columns' => true, 'rewrite' => false, ) ); -
apply_filters( 'pf_register_feed_post_type_args', array( 'label' => __( 'Feeds', 'pressforward' ), 'labels' => $labels, 'description' => __( 'Feeds imported by PressForward’s Feed Importer', 'pressforward' ), 'public' => false, 'hierarchical' => true, 'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'custom-fields' ), 'show_in_admin_bar' => true, 'show_in_rest' => true, 'rest_namespace' => 'pf/v1', 'rest_base' => 'feeds', '... ); -
apply_filters( 'pf_register_feed_tag_taxonomy_args', array( 'labels' => $labels, 'public' => true, 'show_admin_columns' => true, 'show_in_nav_menus' => true, 'show_ui' => true, 'show_admin_column' => true, 'hierarchical' => true, 'update_count_callback' => '_update_post_term_count', 'rewrite' => false, 'show_in_rest' => true, 'rest_base' => 'folders', 'rest_controller_class' => 'PF_REST_Terms_Controller', ) ); -
apply_filters( 'pf_relationship_types', $types ); -
apply_filters( 'pf_screen', $screen_array ); -
apply_filters( 'pf_settings_tabs', $permitted_tabs ); -
do_action( 'pf_setup_modules', $this ); -
apply_filters( 'pf_source_statement', $_args ); -
do_action( 'pf_stats_query_after', $q ); -
do_action( 'pf_stats_query_before', $args ); -
apply_filters( "pf_tabs_{$slug}", $permitted_tabs ); -
apply_filters( 'pf_tags_prompt', __( 'Enter Tags', 'pressforward' ) ); -
apply_filters( 'pf_title_variation', $variant, $is_variant ); -
do_action( 'pf_tools' ); -
apply_filters( 'pf_transition_post_meta', array( 'item', 'nomination', 'post' ) ); -
do_action( 'pf_transition_to_last_step', $id ); -
apply_filters( 'pf_valid_post_taxonomies', array( 'category', 'post_tag' ) ); -
do_action( 'pressforward_init' ); -
apply_filters( 'pressforward_register_modules', array() ); -
do_action( 'transition_pf_post_meta', $old_post, $new_post ); -
apply_filters( 'use_block_editor_for_post', true, $nomination_post_obj ); -
apply_filters( 'use_block_editor_for_post_type', true, 'nomination' ); -
apply_filters( 'wp_feed_cache_transient_lifetime', 12 * HOUR_IN_SECONDS, $url );
Generated from PressForward'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: