mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- added filter for fix #306 issue;
This commit is contained in:
@@ -351,6 +351,14 @@ if ( ! class_exists( 'Shortcodes' ) ) {
|
||||
* @param array $args
|
||||
*/
|
||||
function dynamic_css( $args = array() ) {
|
||||
|
||||
/*
|
||||
* for fix the issue #306
|
||||
*/
|
||||
$disable_css = apply_filters( 'um_disable_dynamic_global_css', false );
|
||||
if ( $disable_css )
|
||||
return '';
|
||||
|
||||
extract( $args );
|
||||
|
||||
include_once um_path . 'assets/dynamic_css/dynamic_global.php';
|
||||
|
||||
Reference in New Issue
Block a user