@@ -493,6 +493,9 @@ discard block |
||
493 | 493 | } |
494 | 494 | } |
495 | 495 | |
496 | + /** |
|
497 | + * @param string $settings |
|
498 | + */ |
|
496 | 499 | public function admin ( $options, $settings, $component ) { |
497 | 500 | if ( !isset( $this->components[ $component ] ) ) |
498 | 501 | wp_die( 'Invalid Component', '', array( 'back_link' => true ) ); |
@@ -507,7 +510,7 @@ discard block |
||
507 | 510 | * |
508 | 511 | * @param string $component The component name to toggle |
509 | 512 | * |
510 | - * @return bool |
|
513 | + * @return boolean|null |
|
511 | 514 | * |
512 | 515 | * @since 2.0 |
513 | 516 | */ |