rwmb_meta_type

rwmb_meta_type

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.4.1.3

apply_filters('rwmb_meta_type') is found 1 times:

  • /vendor/wpmetabox/meta-box/inc/functions.php line 85
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
         * @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'] );
    }