get_post_status

get_post_status

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('get_post_status') is found 1 times:

  • /wp-includes/post.php line 1283
    1279
    1280
    1281
    1282
    1283
    1284
    1285
    1286
    1287
    1288
    1289
         *
         * @param string  $post_status The post status.
         * @param WP_Post $post        The post object.
         */
        return apply_filters( 'get_post_status', $post_status, $post );
    }
     
    /**
     * Retrieves all of the WordPress supported post statuses.
     *
     * Posts have a limited set of valid status values, this provides the