mirror of
https://ghproxy.net/https://github.com/AlxMedia/airl.git
synced 2025-08-26 08:38:12 +08:00
Kirki deprecated fix
This commit is contained in:
parent
6479f87a8c
commit
a4a1e009b9
1 changed files with 13 additions and 0 deletions
|
@ -743,3 +743,16 @@ function airl_skip_link_focus_fix() {
|
|||
<?php
|
||||
}
|
||||
add_action( 'wp_print_footer_scripts', 'airl_skip_link_focus_fix' );
|
||||
|
||||
|
||||
/* Kirki deprecated fix
|
||||
/* ------------------------------------ */
|
||||
function airl_kirki_config( $config ) {
|
||||
|
||||
if ( isset( $config['compiler'] ) ) {
|
||||
unset( $config['compiler'] );
|
||||
}
|
||||
|
||||
return $config;
|
||||
}
|
||||
add_filter( 'kirki/config', 'airl_kirki_config', 999 );
|
Loading…
Add table
Add a link
Reference in a new issue