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