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: ''


Top ↑

Return Return

(string) shortcode output


Top ↑

Source Source

File: includes/class-ld-cpt.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.