ap_post_status_badge( boolean|integer $post_id = false )
Description #
Return description of a post status.
Parameters #
- $post_idboolean | integer (Optional) Post ID. Default value: false
Source #
File: includes/post-status.php
function ap_post_status_badge( $post_id = false ) {
$ret = '<postmessage>';
$msg = ap_get_post_status_message( $post_id );
if ( ! empty( $msg ) ) {
$ret .= $msg;
}
$ret .= '</postmessage>';
return $ret;
}
Expand full source code Collapse full source code View on GitHub: includes/post-status.php:152
Add your comment