|
@@ 2515-2518 (lines=4) @@
|
| 2512 |
|
switch ( $feature ) { |
| 2513 |
|
case 'custom-logo' : |
| 2514 |
|
case 'custom-header' : |
| 2515 |
|
case 'custom-background' : |
| 2516 |
|
if ( isset( $_wp_theme_features[ $feature ][0][ $args[0] ] ) ) |
| 2517 |
|
return $_wp_theme_features[ $feature ][0][ $args[0] ]; |
| 2518 |
|
return false; |
| 2519 |
|
|
| 2520 |
|
default : |
| 2521 |
|
return $_wp_theme_features[ $feature ]; |
|
@@ 2645-2647 (lines=3) @@
|
| 2642 |
|
|
| 2643 |
|
case 'custom-logo': |
| 2644 |
|
case 'custom-header': |
| 2645 |
|
case 'custom-background': |
| 2646 |
|
// Specific capabilities can be registered by passing an array to add_theme_support(). |
| 2647 |
|
return ( isset( $_wp_theme_features[ $feature ][0][ $args[0] ] ) && $_wp_theme_features[ $feature ][0][ $args[0] ] ); |
| 2648 |
|
} |
| 2649 |
|
|
| 2650 |
|
/** |