get( 'fixes', 'enableSkipLink' );
if ( isset( $fix_skip_link['status'] ) && $fix_skip_link['status'] ) {
add_action( 'wp_body_open', array( $this, 'add_skip_link' ) );
}
}
/**
* Adds the skip link code to the page.
*
* @return void
*/
public function add_skip_link() {
$settings = Settings::get_instance();
$targets_string = isset( $settings->get( 'fixes', 'enableSkipLink' )['targets'] ) ? $settings->get( 'fixes', 'enableSkipLink' )['targets'] : '';
if ( ! $targets_string ) {
return;
}
?>
add_skip_link_styles(); ?>