@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | |
| 115 | 115 | $config = Kirki_Config::get_instance( $config_id, $args ); |
| 116 | 116 | $config_args = $config->get_config(); |
| 117 | - self::$config[ $config_args['id'] ] = $config_args; |
|
| 117 | + self::$config[$config_args['id']] = $config_args; |
|
| 118 | 118 | } |
| 119 | 119 | |
| 120 | 120 | /** |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | $args['type'] = ( isset( $args['type'] ) ) ? $args['type'] : 'default'; |
| 134 | 134 | $args['type'] = 'kirki-' . $args['type']; |
| 135 | 135 | |
| 136 | - self::$panels[ $args['id'] ] = $args; |
|
| 136 | + self::$panels[$args['id']] = $args; |
|
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | /** |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | $args['type'] = ( isset( $args['type'] ) ) ? $args['type'] : 'default'; |
| 154 | 154 | $args['type'] = 'kirki-' . $args['type']; |
| 155 | 155 | |
| 156 | - self::$sections[ $args['id'] ] = $args; |
|
| 156 | + self::$sections[$args['id']] = $args; |
|
| 157 | 157 | } |
| 158 | 158 | |
| 159 | 159 | /** |
@@ -205,9 +205,9 @@ discard block |
||
| 205 | 205 | */ |
| 206 | 206 | public static function get_config_param( $id, $param ) { |
| 207 | 207 | |
| 208 | - if ( ! isset( self::$config[ $id ] ) || ! isset( self::$config[ $id ][ $param ] ) ) { |
|
| 208 | + if ( ! isset( self::$config[$id] ) || ! isset( self::$config[$id][$param] ) ) { |
|
| 209 | 209 | return ''; |
| 210 | 210 | } |
| 211 | - return self::$config[ $id ][ $param ]; |
|
| 211 | + return self::$config[$id][$param]; |
|
| 212 | 212 | } |
| 213 | 213 | } |