mirror of
https://ghproxy.net/https://github.com/AlxMedia/magaziner.git
synced 2025-08-28 09:43:30 +08:00
Kirki 4.0.24
This commit is contained in:
parent
ad73f534bf
commit
0c3f94312c
39 changed files with 1664 additions and 1315 deletions
|
@ -141,14 +141,12 @@ class Editor_Styles {
|
|||
return true;
|
||||
}
|
||||
|
||||
if ( ! empty( $args ) ) {
|
||||
if ( isset( $args['disable_output'] ) && true === $args['disable_output'] ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if ( ! isset( $args['gutenberg_support'] ) || true !== $args['gutenberg_support'] ) {
|
||||
return true;
|
||||
}
|
||||
/**
|
||||
* We would prefer to use "KIRKI_GUTENBERG_OUTPUT" instead.
|
||||
* For consistency however, we will use "KIRKI_NO_GUTENBERG_OUTPUT".
|
||||
*/
|
||||
if ( defined( 'KIRKI_NO_GUTENBERG_OUTPUT' ) && true === KIRKI_NO_GUTENBERG_OUTPUT ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue