ap_category_have_image( integer $term_id )
Description #
Check if category have featured image.
Parameters #
- $term_idinteger (Required) Term ID.
Source #
File: includes/taxo.php
function ap_category_have_image( $term_id ) { $option = get_term_meta( $term_id, 'ap_category', true ); if ( ! empty( $option['image']['id'] ) ) { return true; } return false; }
Expand full source code Collapse full source code View on GitHub: includes/taxo.php:324
Add your comment