Skip to content

Commit f8f4088

Browse files
authored
[APP-1903] hide skip link for "Hello elementor" theme (#408)
1 parent ad2174f commit f8f4088

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/core/components/skip-link.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public function __construct() {
7171

7272
if ( $this->settings && ! empty( $this->settings['enabled'] ) ) {
7373
remove_action( 'wp_footer', 'the_block_template_skip_link' );
74+
add_filter( 'hello_elementor_enable_skip_link', '__return_false' );
7475

7576
add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_skip_link_styles' ] );
7677
add_action( 'wp_body_open', [ $this, 'render_skip_link' ] );

0 commit comments

Comments
 (0)