| @@ -1,6 +1,7 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | defined( 'ABSPATH' ) || exit; |
| 3 | +// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- Included inside block render methods; variables are local. | |
| 3 | 4 | |
| 4 | 5 | |
| 5 | 6 | if ( $attr['enablePopup'] || ( isset( $vid_icon_redirect ) && ! $vid_icon_redirect ) ) { |
| 6 | 7 | $post_loop .= '<div enableVideoPopup="' . $attr['enablePopup'] . '" enableAutoPlay="' . $attr['popupAutoPlay'] . '" class="ultp-video-icon">' . ultimate_post()->get_svg_icon( 'play_line' ) . '</div>'; |