jetpack_custom_paywall_blocks

jetpack_custom_paywall_blocks

Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.15.1.1

apply_filters('jetpack_custom_paywall_blocks') is found 1 times:

  • /extensions/blocks/subscriptions/subscriptions.php line 1207
     *
     * @return string
     */
    function get_paywall_blocks() {
    	$custom_paywall = apply_filters( 'jetpack_custom_paywall_blocks', false );
    	if ( ! empty( $custom_paywall ) ) {
    		return $custom_paywall;
    	}
    
    	if ( ! Request::is_frontend() ) { // emails
    		return get_paywall_simple();