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