ap_post_status( boolean|integer $post_id = false )
Description #
Get post status.
Parameters #
- $post_idboolean | integer (Optional) question or answer ID. Default value: false
Source #
File: includes/theme.php
52 53 54 55 56 57 58 | function ap_post_status( $post_id = false ) { if ( false === $post_id ) { $post_id = get_the_ID(); } return get_post_status( $post_id ); } |
Expand full source code Collapse full source code View on GitHub: includes/theme.php:52
Add your comment