Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Print an array of WPRichSnippets plugin Template Elements https://wprichsnippets.com/doc/shortcodes/
/*
Print an array of WPRS Template Elements
*/
function wprs_display_element_array_4321() {
global $post;
if (!wprs_is_enabled($post->ID)) return;
$template = wprs_template($post->ID);
echo '<pre>';
print_r($template);
echo '<pre>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment