is_post_status_viewable

is_post_status_viewable

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('is_post_status_viewable') is found 1 times:

  • /wp-includes/post.php line 2447
    2443
    2444
    2445
    2446
    2447
    2448
    2449
    2450
    2451
    2452
    2453
         *
         * @param bool     $is_viewable Whether the post status is "viewable" (strict type).
         * @param stdClass $post_status Post status object.
         */
        return true === apply_filters( 'is_post_status_viewable', $is_viewable, $post_status );
    }
     
    /**
     * Determines whether a post is publicly viewable.
     *
     * Posts are considered publicly viewable if both the post status and post type