For developers who need to go beyond the series settings, the Series Add On offers several filter hooks. Use them to change who can view series content, adjust the series list and locked content messages, customize the New Series Content Notification email, and add custom post types to a series.

The Add On has no action hooks. All of the hooks below are filters.

Access and the Series List

pmproap_all_access_levels

Gives members of specific levels access to all series content right away, ignoring every delay. Return an array of level IDs. A member who holds any of these levels can view every post in every series without waiting.

The Addon Packages Add On applies a filter with the same name, so levels you return here also get all-access in that Add On when it’s active.

apply_filters( 'pmproap_all_access_levels', array $all_access_levels, int $user_id, int $post_id );

Parameters

  • $all_access_levels: array; Level IDs that get access to all series content. Default empty array.
  • $user_id: int; The ID of the user being checked.
  • $post_id: int; The ID of the post being checked.

pmpro_series_override_delay

Determines whether an item is shown as available in the series list on the series page. Return true to show the item with a link and an Available Now button, or false to show it with its unlock date. The filter runs for each item in the list.

This filter only changes how the list looks. It doesn’t change who can view the post itself. To grant access to locked content, use pmproap_all_access_levels or core’s pmpro_has_membership_access_filter.

apply_filters( 'pmpro_series_override_delay', bool $available, float $member_days, int $delay, int $user_id );

Parameters

  • $available: bool; Whether the member has reached the delay for this item.
  • $member_days: float; How many days the member has held a level that can access the series.
  • $delay: int; The delay set for this item, in days.
  • $user_id: int; The ID of the current user.

pmpro_series_post_list_posts

Filters the items shown in the series list on the series page. Use it to hide items or change their order in the list. Like pmpro_series_override_delay, this only affects the list; it doesn’t change access to the posts.

apply_filters( 'pmpro_series_post_list_posts', array $post_list_posts, PMProSeries $series );

Parameters

  • $post_list_posts: array; The published items in the series, sorted by delay. Each item is an object with id (the post ID) and delay (in days) properties.
  • $series: PMProSeries; The series being displayed.

pmpro_series_get_post_list

Filters the full HTML of the series list before it’s displayed on the series page. On the series page, the result passes through wp_kses_post(), so markup that isn’t allowed in post content, such as scripts and form fields, is removed.

apply_filters( 'pmpro_series_get_post_list', string $temp_content, PMProSeries $series );

Parameters

  • $temp_content: string; The HTML for the list of series items.
  • $series: PMProSeries; The series being displayed.

Locked Content Messages

pmpros_days_left_message

Filters the message shown to a member who has access to the series but hasn’t reached the delay yet. By default: “This content is part of the [Series Name] series. You will gain access on [date].” The message is HTML wrapped in a <p> tag.

apply_filters( 'pmpros_days_left_message', string $text, int $member_days, int $days_left, int $user_id );

Parameters

  • $text: string; The message HTML.
  • $member_days: int; How many full days the member has held a level that can access the series. When the content is in more than one of the member’s series, this comes from the last series checked, which may not be the series named in the message.
  • $days_left: int; Days until the content unlocks, from the series that unlocks it soonest.
  • $user_id: int; The ID of the current user.

pmpros_content_access_message_single_item

Filters the message shown to someone without access to the series when the locked content belongs to one series. By default: “This content is part of the [Series Name] series.” with a link to the series.

apply_filters( 'pmpros_content_access_message_single_item', string $text, array $post_series );

Parameters

  • $text: string; The message HTML.
  • $post_series: array; The IDs of the published series that contain this content (one ID).

pmpros_content_access_message_many_items

Filters the message shown to someone without access when the locked content belongs to more than one series. By default: “This content is part of the following series: [Series A], [Series B].” with each series linked.

apply_filters( 'pmpros_content_access_message_many_items', string $text, array $post_series );

Parameters

  • $text: string; The message HTML.
  • $post_series: array; The IDs of the published series that contain this content.

Emails

pmpro_series_new_content_email_post_list

Filters the list of posts included in the New Series Content Notification email. This is the value of the {{ post_list }} (or !!post_list!!) email variable. Use it to add excerpts, featured images, or a short intro line to the list.

The filtered value goes into the email as-is, so your callback must escape any values it adds. The filter also runs when you send a test email from the template editor; in that case $post_ids holds the site’s most recent published items of any post type and $user is you.

Available in Series 1.0.3 and later.

apply_filters( 'pmpro_series_new_content_email_post_list', string $post_list, int[] $post_ids, WP_User $user );

Parameters

  • $post_list: string; The HTML list of posts. By default, an unordered list with each post title linked to the post.
  • $post_ids: int[]; The IDs of the posts in this email.
  • $user: WP_User; The member who will receive the email.

To change the subject line from code instead of in the template editor, use core’s pmpro_email_subject filter and check that the email’s template property is new_content.

Post Types and Registration

pmpros_post_types

Filters the post types listed in the Post/Page dropdown of the Manage Series box. Add a post type here to drip it in a series. For a walkthrough, see How to Add Custom Post Types (CPTs) to Your Drip Series.

apply_filters( 'pmpros_post_types', array $post_types );

Parameters

  • $post_types: array; Post type slugs. Default array( 'post', 'page' ).

pmpros_series_labels

Filters the labels used for the Series post type in the WordPress admin, such as the menu name and the New Series link. Use it to rename series to something like “Courses” or “Programs.”

apply_filters( 'pmpros_series_labels', array $labels );

Parameters

  • $labels: array; Post type labels, including name, singular_name, add_new, edit_item, view_item, search_items, not_found, and not_found_in_trash.

pmpros_series_registration

Filters the arguments used to register the Series post type (pmpro_series). Use it to change the URL slug, the archive, menu placement, or supported features. If you change the rewrite slug, resave your permalinks under Settings > Permalinks.

apply_filters( 'pmpros_series_registration', array $args );

Parameters

  • $args: array; Arguments passed to register_post_type(). By default the post type is public and hierarchical, uses the series rewrite slug and archive, shows in the REST API, and supports the title, editor, thumbnail, custom fields, and author.

Last updated on November 19, 2026


Was this article helpful?
YesNo