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