rwmb_meta

rwmb_meta

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.4.1.2

apply_filters('rwmb_meta') is found 2 times:

  • /vendor/wpmetabox/meta-box/inc/functions.php line 26
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
         * Then fallback to the old method to retrieve meta (which uses get_post_meta() as the latest fallback).
         */
        if ( false === $field ) {
            $value = rwmb_meta_legacy( $key, $args, $post_id );
            return apply_filters( 'rwmb_meta', $value, $key, $args, $post_id );
        }
        $value = in_array( $field['type'], [ 'oembed', 'map', 'osm' ], true ) ?
            rwmb_the_value( $key, $args, $post_id, false ) :
            rwmb_get_value( $key, $args, $post_id );
        return apply_filters( 'rwmb_meta', $value, $key, $args, $post_id );
    }
  • /vendor/wpmetabox/meta-box/inc/functions.php line 31
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
            }
            $value = in_array( $field['type'], [ 'oembed', 'map', 'osm' ], true ) ?
                rwmb_the_value( $key, $args, $post_id, false ) :
                rwmb_get_value( $key, $args, $post_id );
            return apply_filters( 'rwmb_meta', $value, $key, $args, $post_id );
        }
    }
     
    if ( ! function_exists( 'rwmb_set_meta' ) ) {
        /**
         * Set meta value.