acf/post_type/registration_args

acf/post_type/registration_args

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.3.11

apply_filters('acf/post_type/registration_args') is found 1 times:

  • /includes/post-types/class-acf-post-type.php line 619
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
        // ACF defaults to false, while WordPress defaults to omitting (deletes only if author support is added).
        $args['delete_with_user'] = (bool) $post['delete_with_user'];
     
        return apply_filters( 'acf/post_type/registration_args', $args, $post );
    }
     
    /**
     * Ensure the metabox being called does not perform any unsafe operations.
     *
     * @since 6.3.8