debug: remove condition to test if enqueue works

This commit is contained in:
FrankZamora
2025-11-27 14:42:43 -06:00
parent 096f9716ef
commit 50a8c2bf18
2 changed files with 4 additions and 4 deletions

View File

@@ -44,9 +44,9 @@ final class YoutubeFacadeHooksRegistrar
*/
public function enqueueAssets(): void
{
// Only on singular content (posts, pages, custom post types)
// Changed from is_single() to is_singular() to cover all content types
if (!is_singular()) {
// Load on all frontend pages (condition removed for debugging)
// TODO: Re-add is_singular() check after confirming assets load
if (is_admin()) {
return;
}