jetpack_custom_paywall_blocks

jetpack_custom_paywall_blocks

Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.14.0

apply_filters('jetpack_custom_paywall_blocks') is found 1 times:

  • /extensions/blocks/subscriptions/subscriptions.php line 1140
     * @param string $newsletter_access_level The newsletter access level.
     * @return string
     */
    function get_paywall_blocks( $newsletter_access_level ) {
    	$custom_paywall = apply_filters( 'jetpack_custom_paywall_blocks', false );
    	if ( ! empty( $custom_paywall ) ) {
    		return $custom_paywall;
    	}
    	if ( ! jetpack_is_frontend() ) { // emails
    		return get_paywall_simple();
    	}