Astra_Ext_Sticky_Header_Markup::add_options( array $meta_option )
Add Meta Options
Description
Parameters
- $meta_option
-
(array) (Required) Page Meta.
Return
(array)
Source
File: addons/sticky-header/classes/class-astra-ext-sticky-header-markup.php
public function add_options( $meta_option ) { $meta_option['stick-header-meta'] = array( 'sanitize' => 'FILTER_DEFAULT', 'default' => astra_get_option_meta( 'stick-header-meta' ), ); $meta_option['header-main-stick-meta'] = array( 'sanitize' => 'FILTER_DEFAULT', 'default' => astra_get_option_meta( 'header-main-stick-meta' ), ); if ( Astra_Ext_Extension::is_active( 'header-sections' ) ) { $meta_option['header-above-stick-meta'] = array( 'sanitize' => 'FILTER_DEFAULT', 'default' => astra_get_option_meta( 'header-above-stick-meta' ), ); $meta_option['header-below-stick-meta'] = array( 'sanitize' => 'FILTER_DEFAULT', 'default' => astra_get_option_meta( 'header-below-stick-meta' ), ); } return $meta_option; }
Expand full source code Collapse full source code View on Trac