Skip to content

Commit

Permalink
Fix deprecated the_block_template_skip_link
Browse files Browse the repository at this point in the history
  • Loading branch information
BootWP committed Dec 24, 2023
1 parent 8a2677c commit e614bbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/scripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ function hms_enqueue_styles() {
* Enqueue scripts
*/
function hms_enqueue_scripts() {
remove_action( 'wp_footer', 'the_block_template_skip_link' );
wp_footer();
wp_print_scripts( 'hms-scripts' );
}
Expand Down

0 comments on commit e614bbf

Please sign in to comment.