rwmb_meta_type

rwmb_meta_type

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.4.1.2

apply_filters('rwmb_meta_type') is found 1 times:

  • /vendor/wpmetabox/meta-box/inc/functions.php line 85
    		 * @var string       Meta type, default is post type name.
    		 * @var string       Object type.
    		 * @var ?string|?int Object id.
    		 */
    		$type = apply_filters( 'rwmb_meta_type', $args['type'], $args['object_type'], $object_id );
    		if ( ! $type ) {
    			$type = get_post_type( $object_id );
    		}
    
    		return rwmb_get_registry( 'field' )->get( $key, $type, $args['object_type'] );
    	}