/** * Remove a specific registered shortcode. * * <code> * Shortcode::delete('shortcode_name'); * </code> * * @param string $shortcode Shortcode tag. */ public static function delete($shortcode) { // Redefine vars $shortcode = (string) $shortcode; // Delete shortcode if (Shortcode::exists($shortcode)) { unset(Shortcode::$shortcode_tags[$shortcode]); } }