mirror of
https://ghproxy.net/https://github.com/AlxMedia/gridzone.git
synced 2025-08-27 00:23:05 +08:00
Kirki deprecated fix
This commit is contained in:
parent
cd422f55e2
commit
cc2b36da01
1 changed files with 13 additions and 0 deletions
|
@ -741,3 +741,16 @@ function gridzone_skip_link_focus_fix() {
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
add_action( 'wp_print_footer_scripts', 'gridzone_skip_link_focus_fix' );
|
add_action( 'wp_print_footer_scripts', 'gridzone_skip_link_focus_fix' );
|
||||||
|
|
||||||
|
|
||||||
|
/* Kirki deprecated fix
|
||||||
|
/* ------------------------------------ */
|
||||||
|
function gridzone_kirki_config( $config ) {
|
||||||
|
|
||||||
|
if ( isset( $config['compiler'] ) ) {
|
||||||
|
unset( $config['compiler'] );
|
||||||
|
}
|
||||||
|
|
||||||
|
return $config;
|
||||||
|
}
|
||||||
|
add_filter( 'kirki/config', 'gridzone_kirki_config', 999 );
|
Loading…
Add table
Add a link
Reference in a new issue