sfw_add_shortcode

Description

Add a sub-shortcode like [sfw subname]

Since: 1.0.0

Code

<?php function sfw_add_shortcode( $shortcode, $callback ){ 
	 … 
 } ?>

Parameter

$shortcode
(string)
$callback
(callable)

Return

Seems like the return value of this function is not yet documented.

File

core/components/shortcode.php