ap_have_attach( mixed $_post = null )
Description #
Check if question or answer have attachemnts.
Parameters #
- $_postmixed (Optional) Post. Default value: null
Source #
File: includes/qaquery.php
function ap_have_attach( $_post = null ) { $_post = ap_get_post( $_post ); if ( ! empty( $_post->attach ) ) { return true; } return false; }
Expand full source code Collapse full source code View on GitHub: includes/qaquery.php:656
Add your comment