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