Description
Returns true if the post type is saleable.
The filter ‘tcp_get_saleable_post_types’ could be used, by plugins, to add its own saleable post types
Usage
Since 1.0.9 version.
<?php $is_saleable = tcp_is_saleable_post_type( $post_type ); ?>
Parameters
- $post_type
- (string) Post type name.
Examples
Related
tcp_get_saleable_post_types | tcp_is_saleable_taxonomy | tcp_is_saleable