WordPress OSINT, maintenance or security needs? Reach out!
TLDWP

Plugin: mb-youtube-videos (Used by 12 domains)

(MB) YouTube Widget

👤 Mechabyte 📦 v1.05 🔗 Plugin Homepage

The YouTube videos widget lets you quickly and easily display your most recent YouTube videos in your blog’s sidebar.

Features

  • The YouTube videos widget is fully-based on the WordPress Plugin API.
  • Uses hooks and filters to allow for maximum hackability by theme designers and developers.
  • Organized straightforwardly so that it’s easy to modify and style.

Usage

The YouTube videos widget is ready to use as-is, although you can easily customize it to your liking with a bit of code.

You can also insert a plain list of your recent videos into posts and pages with the shortcode mechabyte_youtube. For example, to load 5 videos from freddiew that open in new tabs, you’d use [mechabyte_youtube username="freddiew" videos="5" tab="true"].

Custom Styles

The YouTube videos widget loads it styles by hooking into WordPress’ wp_enqueue_scripts action. To remove the default styling you need to remove the our enqueue_scripts function from the hook.

    remove_action( 'wp_enqueue_scripts', array( 'mechabyteYouTube', 'enqueue_scripts' ) );

Custom Output

The end user has two options of displaying their YouTube videos: in plain or decorated lists. When modifying the output of the plugin you must use one of two filters that this plugin uses: mbYT_construct_plain and mbYT_construct_decorated. Before you add your own functions to either filter, you must remove the default ones that are used automatically: mbYT_construct_plain_default and mbYT_construct_decorated_default.

    remove_filter( 'mbYT_construct_plain', array( 'mechabyteYouTube', 'mbYT_construct_plain_default'), 10, 3  );
    remove_filter( 'mbYT_construct_decorated', array( 'mechabyteYouTube', 'mbYT_construct_decorated_default'), 10, 3  );

Now it’s time to get creative. When creating a function that will loop through the videos you have complete control over how you want to display the content. Just keep in mind that in the end, you should be outputting

  • elements. When filters are being applied to the YouTube content, there are three arguments that are being passed through: $youtube_videos (array, the array of videos), $number (integer, the number of videos the user wishes to display), and $tab (boolean, a true/false value of whether or not the user wants to open video links in a new tab).
    Keep in mind that you have access to the following pieces of information when creating your video loop:

        $item['title'] // Video title
        $item['videoID'] // Video ID
        $item['viewCount'] // Video view count
        $item['published'] // Video publish date -- UNIX
        $item['duration'] // Video duration in hh:mm:ss
        $item['numLikes'] // Video likes count
        $item['link'] // Video link
        $item['image']['default'] // 'Default' thumbnail (low quality)
        $item['image']['mqdefault'] // Medium quality thumbnail
        $item['image']['hqdefault'] // High quality thumbnail
    

    Here’s an example of some code that adds a custom function to our mb_construct_plain filter (assuming we’ve already removed the default functions). Keep in mind the 3 at the end. That lets WordPress expect our three arguments that will be passed through. Check out WordPress’ add_filter() page for more info.

        add_filter( 'mb_construct_plain', 'construct_plain_example', 10, 3 );
    
        function construct_plain_example( $youtube_videos, $number, $tab ) {
            $output = '';
            foreach( $youtube_videos as $youtube_video ) {
                // If we've reached the user's display limit, end the loop
                if( $i == $number )
                  break;
                $output .= '
  • '; $output .= '
  • Pretty basic, but it allows you to see a general example of how to loop through the objects and return the modified data.
    The above code will produce a list element like this one:

        
  • Real Life Portal Gun
  • DomainExposuresHeadersLast Checked
    f*s*a*i*e*a*t*m*b*l*.fr F 2026-07-16 16:15:12
    r*d*a*d*h*r*f.com (WP 4.6.12) ⚠️ F 2026-07-15 03:23:16
    a*a*a*e*d*s.com (WP 7.0.1) 👤 F 2026-07-10 21:17:45
    b*c*s*u*n*i*e*a*d.com (WP 4.9.26) ⚠️ 👤 F 2026-07-09 06:01:39
    s*-*t*i*h*r*t*l*b*n*.de (WP 7.0) F 2026-07-07 02:21:28
    c*s*h*m*.se (WP 4.4) ⚠️ F 2026-06-29 17:51:36
    5*1*t.c*m.au (WP 7.0) 🔓 👤 F 2026-06-13 00:08:08
    t*e*r*t*t*l*v*s*o*.com F 2026-06-05 20:08:28
    m*l*e*c*i*a*o*e*l*s*a*e.com (WP 7.0) F 2026-06-03 21:59:27
    t*e*o*e*e*.com (WP 6.9.4) F 2026-06-03 15:33:08
    a*e*i*a*f*e*d*m*a*c*n*e*.org (WP 5.5.18) ⚠️ 🔓 F 2026-05-24 02:06:45
    s*o*s*i*a*a*o*.c*m.mk F 2026-05-23 04:26:57

    Top 50 Plugins

    Plugin Count
    elementor 1,793,459
    contact-form-7 1,782,002
    elementor-pro 1,061,431
    woocommerce 822,034
    revslider 618,715
    jetpack 464,770
    js_composer 428,460
    wp-rocket 342,718
    essential-addons-for-elementor-lite 269,637
    complianz-gdpr 264,025
    gravityforms 258,927
    cookie-law-info 233,763
    google-site-kit 231,070
    instagram-feed 228,883
    sitepress-multilingual-cms 214,899
    header-footer-elementor 211,104
    google-analytics-for-wordpress 210,161
    bluehost-wordpress-plugin 193,509
    elementskit-lite 184,274
    gutenberg 167,724
    cookie-notice 153,354
    gutenberg-core 142,045
    litespeed-cache 140,950
    wpforms-lite 127,965
    gtranslate 127,545
    the-events-calendar 125,053
    astra-sites 117,037
    popup-maker 112,474
    woocommerce-payments 111,869
    tablepress 102,941
    honeypot 99,115
    astra-addon 95,543
    coblocks 94,957
    wp-smushit 92,595
    duracelltomi-google-tag-manager 91,922
    all-in-one-seo-pack 91,433
    layerslider 91,334
    bb-plugin 87,245
    premium-addons-for-elementor 86,214
    akismet 86,000
    cleantalk-spam-protect 84,152
    mailchimp-for-wp 83,497
    ml-slider 83,351
    megamenu 81,733
    woocommerce-gateway-stripe 80,970
    fusion-builder 78,766
    ewww-image-optimizer 77,478
    smart-slider-3 77,454
    wp-pagenavi 77,324
    jet-engine 77,148

    Top 50 Themes

    Theme Count
    hello-elementor 626,365
    Divi 506,688
    astra 423,447
    flatsome 135,761
    Avada 123,590
    generatepress 117,012
    pub 98,561
    oceanwp 82,623
    kadence 80,152
    enfold 71,055
    salient 66,379
    twentyseventeen 55,252
    twentytwentyfour 53,156
    betheme 52,942
    bb-theme 52,920
    blocksy 51,660
    cocoon-master 50,467
    h4 48,975
    dt-the7 46,226
    twentytwentyfive 44,712
    neve 39,016
    woodmart 38,968
    Avada-Child-Theme 37,515
    gox 36,253
    bridge 32,288
    twentytwentyone 30,944
    lightning 30,248
    twentytwenty 29,246
    swell 28,431
    bricks 26,503
    Impreza 26,441
    Newspaper 24,497
    twentytwentythree 22,670
    epik-redesign 19,517
    twentytwentytwo 19,273
    uncode 18,933
    twentysixteen 17,814
    pro 17,654
    sydney 16,891
    storefront 16,605
    Total 14,770
    hello-theme-child-master 14,108
    extendable 13,848
    factory-templates-4 13,749
    themify-ultra 13,160
    yith-wonder 12,875
    hestia 12,847
    yootheme 12,828
    porto 12,114
    twentynineteen 11,826