Add a Shortcode
add_shortcode( string $tag, callable $func );
add_shortcode('wporg', 'wporg_shortcode'); function wporg_shortcode( $atts = [], $content = null) { // do something to $content // always return return $content; }
Remove a Shortcode
remove_shortcode( string $tag );
Check if a Shortcode Exists