Skip to main content

benecaster_is_follower_double_optin()

Utilities Free
benecaster_is_follower_double_optin( int $show_id ): bool

Whether a new follower of this show must confirm by email before they follow. It covers followers a podcaster adds or imports as well as the public forms.

Parameters

Name Type Default Required Description
show_id int — Yes The show to ask about.

Return Value

Type: bool

The show's Ask new followers to confirm their email setting, off by default, with the benecaster_follower_double_optin filter applied on top.

Example

if ( ! benecaster_is_follower_double_optin( $show_id ) ) {
    echo esc_html__( 'Followers sync only when this show asks them to confirm their email.', 'my-addon' );
}

Hooks Fired

Notes

To show this on your own screen, display it read-only and link to Show Settings; never store a copy. The REST API's follower_double_optin is the stored setting before the filter, so call this function when you need the real answer.

Need this built rather than just documented? See our services →