Bulk Page Generator and Mass Page Builder 1.8.7 has 16 actions and 57 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 Bulk Page Generator and Mass Page Builder fires an action
add_action( 'page_generator_pro_generate_content_after', function( $group, $arg2, $arg3 ) {
// Your code runs here.
}, 10, 3 );
// Change a value Bulk Page Generator and Mass Page Builder is about to use
add_filter( 'page_generator_pro_admin_admin_menu_minimum_capability', function( $minimum_capability ) {
// Change $minimum_capability here.
return $minimum_capability;
}, 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
-
/** * Runs any actions after Generate Content has finished. */ do_action( 'page_generator_pro_generate_content_after', $group['group_id'], false, 'browser' ); -
/** * Defines the data to include in the export file. Plugins hook into this to * define the data. */ apply_filters( "{str_replace('-','_',$this->plugin->name)}_export", $data, $_POST ); -
/** * Add any form options to the Export screen */ do_action( "{str_replace('-','_',$this->plugin->name)}_export_view" ); -
/** * Filter the import sources. */ apply_filters( "{str_replace('-','_',$this->plugin->name)}_import_sources", array() ); -
/** * Enqueues CSS and JS */ do_action( 'page_generator_pro_admin_admin_scripts_css', $screen, $post, $minified ); -
/** * The maximum number of generated items to trash or delete in a single AJAX * request, to prevent timeouts or server errors. */ apply_filters( 'page_generator_pro_ajax_delete_generated_count_number_of_items', $limit ); -
/** * Defines available user IDs. */ apply_filters( 'page_generator_pro_common_get_all_user_ids', $user_ids ); -
/** * Define autocompleters to use across Content Groups, Term Group and TinyMCE */ apply_filters( 'page_generator_pro_common_get_autocomplete_configuration', $autocomplete_configuration, $is_group ); -
/** * Defines an array of Javascript DOM selectors to enable the keyword * autocomplete functionality on. */ apply_filters( 'page_generator_pro_common_get_autocomplete_enabled_fields', $fields, $is_group ); -
page_generator_pro_common_get_capabilities_to_disable_on_group_content_generation
filter Copy link Customise this hook/** * Defines Role Capabilities that should be disabled when a Content Group is * Generating Content. */ apply_filters( 'page_generator_pro_common_get_capabilities_to_disable_on_group_content_generation', $capabilities ); -
/** * Defines the Post Type Objects that content cannot be generated for. */ apply_filters( 'page_generator_pro_common_get_excluded_post_types', $types ); -
/** * Defines available Generation Systems */ apply_filters( 'page_generator_pro_common_get_generation_systems', $systems ); -
/** * Defines available Post Statuses for generated content. */ apply_filters( 'page_generator_pro_common_get_post_statuses', $statuses ); -
/** * Defines available Theme Templates for each Post Type that can have content * generated for it. */ apply_filters( 'page_generator_pro_common_get_post_type_templates', $templates ); -
/** * Defines the available public Post Type Objects that content can be generated * for. */ apply_filters( 'page_generator_pro_common_get_post_types', $types ); -
/** * Defines an array of Javascript DOM selectors to enable the selectize * functionality on. */ apply_filters( 'page_generator_pro_common_get_selectize_enabled_fields', $fields ); -
/** * Returns an array of TinyMCE Plugins that aren't shortcodes/blocks, such as * Autocomplete */ apply_filters( 'page_generator_pro_editor_get_tinymce_plugins', $plugins ); -
/** * Defines the TinyMCE Plugins to register */ apply_filters( 'page_generator_pro_editor_register_tinymce_plugins', $plugins, $screen, $shortcodes ); -
/** * Set a flag to denote whether we should register TinyMCE Plugins */ apply_filters( 'page_generator_pro_editor_should_register_tinymce_plugins', $should_register_tinymce_plugins ); -
/** * Run any actions immediately after an individual Page, Post or Custom Post * Type is generated, but before its Page Template, Featured Image, Custom * Fields, Post Meta, Geodata or Taxonomy Terms have been assigned. */ do_action( 'page_generator_pro_generate_content_after_insert_update_post', $post_id, $group_id, $settings, $index, $test_mode ); -
/** * Runs any actions before Generate Content has started. */ do_action( 'page_generator_pro_generate_content_before', $id, false, 'browser' ); -
/** * Run any actions immediately before an individual Page, Post or Custom Post * Type is generated. */ do_action( 'page_generator_pro_generate_content_before_insert_update_post', $group_id, $settings, $index, $test_mode ); -
/** * Run any actions after an individual Page, Post or Custom Post Type is * generated successfully. */ do_action( 'page_generator_pro_generate_content_finished', $post_id, $group_id, $settings, $index, $test_mode ); -
/** * Modify the Group's settings prior to parsing shortcodes and building the * Post Arguments to use for generating a single Page, Post or Custom Post * Type. */ apply_filters( 'page_generator_pro_generate_content_settings', $settings, $group_id, $index, $test_mode ); -
/** * Run any actions before an individual Page, Post or Custom Post Type is * generated */ do_action( 'page_generator_pro_generate_content_started', $group_id, $settings, $index, $test_mode ); -
/** * Run any actions after all generated content for a given Content Group has * been deleted. */ do_action( 'page_generator_pro_generate_delete_content_finished', $group_id, $post_ids ); -
/** * Returns an array of keyword and term key / value pairs, before any search or * replacement arrays are built. */ apply_filters( 'page_generator_pro_generate_get_keywords_terms', $keywords_terms, $method, $index ); -
/** * Filters arguments used for creating or updating a Post when running content * generation. */ apply_filters( 'page_generator_pro_generate_post_args', $post_args, $settings ); -
/** * Perform any other keyword replacements or string processing. */ apply_filters( 'page_generator_pro_generate_replace_keywords_in_array', $item, $key ); -
/** * Action to perform any further steps with the Content Group's Page Template * after the Page Template has been copied from the Content Group to the * Generated Content. */ do_action( 'page_generator_pro_generate_set_page_template', $post_id, $settings, $post_args ); -
/** * Action to perform any further steps with the Content Group's Post Meta, * after all Post Meta has been copied from the Content Group to the Generated * Content. */ do_action( 'page_generator_pro_generate_set_post_meta', $post_id, $group_id, $settings['post_meta'], $settings, $post_args ); -
/** * Filters the Group Metadata for the given Key and Value, immediately before * it's saved to the Generated Page. */ apply_filters( "page_generator_pro_generate_set_post_meta_{$meta_key}", $meta_value, $post_id, $group_id, $settings, $post_args ); -
/** * Defines Post Meta Keys in a Content Group to ignore and not copy to * generated Posts / Groups. */ apply_filters( 'page_generator_pro_generate_set_post_meta_ignored_keys', $ignored_keys, $post_id, $settings, $post_args ); -
/** * Run any actions after all generated content for a given Content Group has * been trashd. */ do_action( 'page_generator_pro_generate_trash_content_finished', $group_id, $post_ids ); -
/** * Filter the Settings before returning. */ apply_filters( 'page_generator_pro_get_settings', $settings, $type ); -
/** * Determine if the given Content Group is eligible to generate content */ apply_filters( 'page_generator_pro_groups_generates_content', $can_generate_content, $id ); -
/** * Defines the default settings structure when a new Content Group is created. */ apply_filters( 'page_generator_pro_groups_get_defaults', $defaults ); -
/** * Defines available Post Statuses for generated content. */ apply_filters( 'page_generator_pro_groups_get_group_statuses', $statuses ); -
/** * Filters the Group Metadata to return. */ apply_filters( 'page_generator_pro_groups_get_post_meta', $meta, $id ); -
/** * Filters the Group Metadata for the given Key and Value */ apply_filters( "page_generator_pro_groups_get_post_meta_{$meta_key}", $value ); -
/** * Defines Post Meta Keys in a Content Group to ignore and not copy to * generated Posts / Groups. */ apply_filters( 'page_generator_pro_groups_get_post_meta_ignored_keys', $ignored_keys, $id ); -
page_generator_pro_groups_get_settings_remove_orphaned_settings
filter Copy link Customise this hook/** * Remove any orphaned data, such as Page Builder, SEO or Schema metadata, from * the Group before generation is run, that might remain due to changing Page * Builder, SEO or Schema Plugin. */ apply_filters( 'page_generator_pro_groups_get_settings_remove_orphaned_settings', $settings ); -
/** * Define an optional success message based on the result of a custom row * action on a Group. */ apply_filters( 'page_generator_pro_groups_run_row_actions_success_message', $message, $result, $action, $id ); -
/** * Save data to Group Post's Meta */ do_action( 'page_generator_pro_groups_save', $group_id, $settings, $_REQUEST ); -
/** * Action hook after all meta boxes are added for the Content Group UI */ do_action( 'page_generator_pro_groups_ui_add_meta_boxes', $this->base->get_class( 'post_type' ), $is_gutenberg_page ); -
/** * Filters the localization title and message strings used for Generation. */ apply_filters( 'page_generator_pro_groups_ui_get_titles_and_messages', $localization ); -
/** * Filters the metaboxes to remove from the Content Groups Screen. */ apply_filters( 'page_generator_pro_groups_ui_remove_meta_boxes', $remove_meta_boxes ); -
/** * Performs several validations on the given Group Settings, to ensure that * content generation will function successfully. */ apply_filters( 'page_generator_pro_groups_validate', $result, $settings, $id ); -
/** * Refresh the given Keyword's Columns and Terms by fetching them from the * database immediately before starting generation. */ apply_filters( "page_generator_pro_keywords_refresh_terms_{$keyword['source']}", '', $keyword ); -
/** * Filters the Keyword data before it is saved to the database. */ apply_filters( 'page_generator_pro_keywords_save', $data, $id, $append_terms ); -
/** * Define the Keyword properties (data, delimiter and columns) for the given * Source before saving the Keyword to the database. */ apply_filters( "page_generator_pro_keywords_save_{$source}", $keyword ); -
/** * Runs validation tests specific to this source for a Keyword immediately * before it's saved to the database. */ apply_filters( "page_generator_pro_keywords_validate_{$data['source']}", $result, $data, $id ); -
/** * Filters the error notices to return. */ apply_filters( 'page_generator_pro_notices_get_error_notices', $error_notices, $this->notices ); -
/** * Filters the success and error notices to return. */ apply_filters( 'page_generator_pro_notices_get_notices', $notices ); -
/** * Filters the success notices to return. */ apply_filters( 'page_generator_pro_notices_get_success_notices', $success_notices, $this->notices ); -
/** * Filters the error notices to return. */ apply_filters( 'page_generator_pro_notices_get_warning_notices', $warning_notices, $this->notices ); -
/** * Filters the success and error notices to save. */ apply_filters( 'page_generator_pro_notices_save', $notices ); -
/** * Filter the arguments for registering the Content Groups Post Type */ apply_filters( 'page_generator_pro_posttype_register_post_types', $args ); -
/** * Define the supported features for Content Groups */ apply_filters( 'page_generator_pro_posttype_supports', $supports ); -
/** * Returns an array comprising of a simplified screen and section that we are * viewing within the WordPress Administration interface. */ apply_filters( 'page_generator_pro_screen_get_current_screen', $result, $screen_id, $screen ); -
/** * Returns an array comprising of a simplified screen and section that we are * viewing within the WordPress Administration interface, before we've * performed any checks. */ apply_filters( 'page_generator_pro_screen_get_current_screen_before', $result ); -
/** * Filter a specific setting before updating. */ apply_filters( 'page_generator_pro_update_setting', $settings, $type, $key, $value ); -
/** * Filter the Settings before updating. */ apply_filters( 'page_generator_pro_update_settings', $settings, $type ); -
/** * Filter the body classes to output on the <body> tag. */ apply_filters( 'wpzinc_admin_body_class', $screens, $classes ); -
/** * Filter the action links. */ apply_filters( 'wpzinc_dashboard_add_action_link', $links, $this->plugin->name, $this->plugin ); -
wpzinc_dashboard_should_load_minified_js_plugins
filter Used by 9 plugins → Copy link Customise this hook/** * Defines an array of third party minification Plugins that, if activate, will * result in this Plugin's JS non-minified files being loaded. */ apply_filters( 'wpzinc_dashboard_should_load_minified_js_plugins', $minification_plugins ); -
apply_filters( "{str_replace('-','_',$this->plugin->name)}_import", $result, $import ); -
apply_filters( 'page_generator_pro_groups_run_row_actions', $result, $action, $id ); -
apply_filters( 'page_generator_pro_keywords_register_sources', array() ); -
do_action( 'page_generator_pro_notices_delete_notices' );
Generated from Bulk Page Generator and Mass Page Builder'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: