SFWD_CPT::shortcode

SFWD_CPT::shortcode( array $atts,  string $content = null,  string $code )

Set up shortcode for custom post type


Description #


Parameters #

$atts

(array) (Required) shortcode attributes

$content

(string) (Optional) short content

Default value: null

$code

(string) (Required) post type


Return #

(string) shortcode output


Source #

File: includes/class-ld-cpt.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.