snow_monkey_blocks_custom_field_value

snow_monkey_blocks_custom_field_value

Hook Type: filter

See hook in core

Displaying hooks found in version: snow-monkey-blocks.22.3.1

apply_filters('snow_monkey_blocks_custom_field_value') is found 2 times:

  • /dist/blocks/custom-field/view.php line 21
     
    $_post_id = $block->context['postId'];
    $value    = get_post_meta( $_post_id, $name, true );
    $value    = apply_filters( 'snow_monkey_blocks_custom_field_value_' . $name, $value, $_post_id );
    $value    = apply_filters( 'snow_monkey_blocks_custom_field_value', $value, $name, $_post_id );
    if ( false === $value || null === $value || '' === $value ) {
    	return;
    }
    
    $block_wrapper_attributes = get_block_wrapper_attributes(
    	array(
    
  • /src/blocks/custom-field/view.php line 21
     
    $_post_id = $block->context['postId'];
    $value    = get_post_meta( $_post_id, $name, true );
    $value    = apply_filters( 'snow_monkey_blocks_custom_field_value_' . $name, $value, $_post_id );
    $value    = apply_filters( 'snow_monkey_blocks_custom_field_value', $value, $name, $_post_id );
    if ( false === $value || null === $value || '' === $value ) {
    	return;
    }
    
    $block_wrapper_attributes = get_block_wrapper_attributes(
    	array(