No results found. Try again with different words?

Search must be at least 3 characters.

Enable/Disable YouTube videos from Astra admin dashboard

Sidebar Image

Did not find a solution? We are here to help you succeed.

We have incorporated GDPR-compliant YouTube video URLs into our platform.

Astra Dashboard:

However, we still provide users with the option to control the visibility of videos through our admin panel. To hide the videos from the admin panel, you will need to add the following filter to the functions.php of your website. If you are not sure how to add custom PHP codes to your website, here is an article that will guide you.

add_filter( 'astra_show_banner_video', '__return_false' );

By using this filter, all admin YouTube videos will be hidden from the Astra dashboard panel. Have a look at the attached screenshot for reference.

Was this article helpful?
Sidebar Image

Did not find a solution? We are here to help you succeed.

Related Docs

Astra is Free. Now & Forever.

We believe creating beautiful websites should not be expensive. That's why Astra is free for everyone. Get started for free and extend with affordable packages.

Download is Just A Click Away!

Download Checklist

REWIND

YEAR IN REVIEW

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form
Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form