SFWD_CPT::shortcode SFWD_CPT::shortcode( array $atts, string $content = null, string $code = '' ) Set up shortcode for custom post type ContentsDescription Parameters Return Source Changelog Related @package Uses Description # Parameters # $atts (array) (Required) shortcode attributes. $content (string) (Optional) short content. Default value: null $code (string) (Optional) post type. Default value: '' Return # (string) shortcode output Source # File: includes/class-ld-cpt.php Changelog # Changelog Version Description 2.1.0 Introduced. Related # @package # LearnDash / CPT Uses # Uses Uses Description includes/class-ld-cpt.php: sfwd_cpt_template Filters custom post type shortcode content.
Uses # Uses Uses Description includes/class-ld-cpt.php: sfwd_cpt_template Filters custom post type shortcode content.