Statement tab). */ declare(strict_types=1); // View file: variables here are local to the include, not true plugin globals. // phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound if ( ! defined( 'ABSPATH' ) ) { die; } $option_string = static function ( string $name, string $default = '' ): string { $value = get_option( $name, $default ); return is_scalar( $value ) ? (string) $value : $default; }; $org = $option_string( 'acceguru_statement_org', (string) get_bloginfo( 'name' ) ); $email = $option_string( 'acceguru_statement_email', (string) get_bloginfo( 'admin_email' ) ); $contact_url = $option_string( 'acceguru_statement_contact_url' ); $level = $option_string( 'acceguru_statement_conformance', $option_string( 'acceguru_wcag_level', 'AA' ) ); $extra = $option_string( 'acceguru_statement_extra' ); $page_id_raw = get_option( 'acceguru_statement_page_id', 0 ); $page_id = is_scalar( $page_id_raw ) ? absint( $page_id_raw ) : 0; $page_exists = $page_id > 0 && (bool) get_post_status( $page_id ); $footer_raw = get_option( 'acceguru_statement_footer_link', false ); $footer_link = is_scalar( $footer_raw ) ? (bool) $footer_raw : false; $footer_text = $option_string( 'acceguru_statement_footer_text', __( 'Accessibility Statement', 'acceguru' ) ); $statement_html = isset( $statement_html ) ? (string) $statement_html : ''; ?>

'acceguru_statement_extra', 'textarea_rows' => 14, 'media_buttons' => false, 'teeny' => true, 'tinymce' => array( 'toolbar1' => 'bold,italic,underline,bullist,numlist,blockquote,link,unlink,undo,redo', ), 'quicktags' => true, ) ); ?>