[WORDPRESS] [Variabile] $shortcode_tags

$shortcode_tags (variabile WordPress) restituisce, sotto forma di array, l’elenco degli shortcode.

Tips&Tricks

Esempi

echo '<pre>', print_r($shortcode_tags, 1), '</pre>';
/* RISULTATO
Array
(
    wp_caption] => img_caption_shortcode
    caption] => img_caption_shortcode
    gallery] => gallery_shortcode
    playlist] => wp_playlist_shortcode
    audio] => wp_audio_shortcode
    video] => wp_video_shortcode
    embed] => __return_false
    latex] => latex_shortcode
    archiveorg-book] => jetpack_archiveorg_book_shortcode
    archiveorg] => jetpack_archiveorg_shortcode
    archives] => archives_shortcode
    bandcamp] => shortcode_handler_bandcamp
    brightcove] => Array
        (
            0] => Jetpack_Brightcove_Shortcode
            1] => convert
        )

    dailymotion] => dailymotion_shortcode
    dailymotion-channel] => dailymotion_channel_shortcode
    digg] => digg_shortcode
    facebook] => jetpack_facebook_shortcode_handler
    flickr] => flickr_shortcode_handler
    getty] => jetpack_getty_shortcode
    gist] => github_gist_shortcode
    googleapps] => googleapps_shortcode
    googlemaps] => jetpack_googlemaps_shortcode
    googleplus] => jetpack_googleplus_shortcode_handler
    googlevideo] => googlevideo_shortcode
    gravatar] => jetpack_gravatar_shortcode
    gravatar_profile] => jetpack_gravatar_profile_shortcode
    houzz] => jetpack_houzz_shortcode
    hulu] => jetpack_hulu_shortcode
    instagram] => jetpack_shortcode_instagram
    kickstarter] => jetpack_kickstarter_shortcode
    lytro] => jetpack_lytro_shortcode_handler
    mailchimp_subscriber_popup] => Array
        (
            0] => MailChimp_Subscriber_Popup
            1] => shortcode
        )

    medium] => jetpack_embed_medium_shortcode
    mixcloud] => mixcloud_shortcode
    polldaddy] => Array
        (
            0] => PolldaddyShortcode Object
                (
                )

            1] => polldaddy_shortcode
        )

    presentation] => Array
        (
            0] => Presentations Object
                (
                    presentation_settings:Presentations:private] => 
                    presentation_initialized:Presentations:private] => 
                    scripts_and_style_included:Presentations:private] => 
                )

            1] => presentation_shortcode
        )

    slide] => Array
        (
            0] => Presentations Object
                (
                    presentation_settings:Presentations:private] => 
                    presentation_initialized:Presentations:private] => 
                    scripts_and_style_included:Presentations:private] => 
                )

            1] => slide_shortcode
        )

    quiz] => Array
        (
            0] => Quiz_Shortcode
            1] => shortcode
        )

    question] => Array
        (
            0] => Quiz_Shortcode
            1] => question_shortcode
        )

    answer] => Array
        (
            0] => Quiz_Shortcode
            1] => answer_shortcode
        )

    wrong] => Array
        (
            0] => Quiz_Shortcode
            1] => wrong_shortcode
        )

    explanation] => Array
        (
            0] => Quiz_Shortcode
            1] => explanation_shortcode
        )

    scribd] => scribd_shortcode_handler
    sitemap] => jetpack_sitemap_shortcode
    slideshare] => slideshare_shortcode
    slideshow] => Array
        (
            0] => Jetpack_Slideshow_Shortcode Object
                (
                    instance_count] => 0
                )

            1] => shortcode_callback
        )

    soundcloud] => soundcloud_shortcode
    spotify] => jetpack_spotify_shortcode
    ted] => shortcode_ted
    tweet] => Array
        (
            0] => Jetpack_Tweet
            1] => jetpack_tweet_shortcode
        )

    twitch] => wpcom_twitchtv_shortcode
    twitchtv] => wpcom_twitchtv_shortcode
    twitter-timeline] => twitter_timeline_shortcode
    ustream] => ustream_shortcode
    ustreamsocial] => ustreamsocial_shortcode
    videopress] => Array
        (
            0] => VideoPress_Shortcode Object
                (
                )

            1] => shortcode_callback
        )

    wpvideo] => Array
        (
            0] => VideoPress_Shortcode Object
                (
                )

            1] => shortcode_callback
        )

    vimeo] => vimeo_shortcode
    vine] => vine_shortcode
    vr] => jetpack_vr_viewer_shortcode
    wufoo] => wufoo_shortcode
    youtube] => youtube_shortcode
    geo-location] => jetpack_geo_shortcode
    upcomingevents] => Array
        (
            0] => Upcoming_Events_Shortcode
            1] => shortcode
        )

    contact-form] => Array
        (
            0] => Grunion_Contact_Form
            1] => parse
        )

    contact-field] => Array
        (
            0] => Grunion_Contact_Form
            1] => parse_contact_field
        )

    recipe] => Array
        (
            0] => Jetpack_Recipes Object
                (
                    scripts_and_style_included:Jetpack_Recipes:private] => 
                )

            1] => recipe_shortcode
        )

    recipe-notes] => Array
        (
            0] => Jetpack_Recipes Object
                (
                    scripts_and_style_included:Jetpack_Recipes:private] => 
                )

            1] => recipe_notes_shortcode
        )

    recipe-ingredients] => Array
        (
            0] => Jetpack_Recipes Object
                (
                    scripts_and_style_included:Jetpack_Recipes:private] => 
                )

            1] => recipe_ingredients_shortcode
        )

    recipe-directions] => Array
        (
            0] => Jetpack_Recipes Object
                (
                    scripts_and_style_included:Jetpack_Recipes:private] => 
                )

            1] => recipe_directions_shortcode
        )

    untappd-menu] => Array
        (
            0] => Jetpack_Untappd Object
                (
                )

            1] => menu_shortcode
        )

    simple-payment] => Array
        (
            0] => Jetpack_Simple_Payments Object
                (
                )

            1] => parse_shortcode
        )

)
*/

Contenuti correlati

Fonti esterne

variabili wordpress, wordpress

Related Articles

0 Comment

Rispondi