rwmb_meta

rwmb_meta

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.3.4.1

apply_filters('rwmb_meta') is found 2 times:

  • /vendor/wpmetabox/meta-box/inc/functions.php line 25
    		 * If field is not found, which can caused by registering meta boxes for the backend only or conditional registration.
    		 * Then fallback to the old method to retrieve meta (which uses get_post_meta() as the latest fallback).
    		 */
    		if ( false === $field ) {
    			return apply_filters( 'rwmb_meta', rwmb_meta_legacy( $key, $args, $post_id ) );
    		}
    		$meta = 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', $meta, $key, $args, $post_id );
    	}
    
  • /vendor/wpmetabox/meta-box/inc/functions.php line 30
    		}
    		$meta = 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', $meta, $key, $args, $post_id );
    	}
    }
    
    if ( ! function_exists( 'rwmb_set_meta' ) ) {
    	/**
    	 * Set meta value.