Astra_Ext_Adv_Footer_Markup::add_options_markup( array $meta )

Footer Widgets Meta Field markup


Description

Loads appropriate template file based on the style option selected in options panel.


Parameters

$meta

(array) (Required) Page Meta.


Source

File: addons/advanced-footer/classes/class-astra-ext-adv-footer-markup.php

		public function add_options_markup( $meta ) {

			if ( ! isset( $meta['footer-adv-display'] ) ) {

				/**
				 * Get options
				 */
				$footer_adv = astra_get_option( 'footer-adv' );
				if ( 'disabled' != $footer_adv ) {
					$advanced_footer = ( isset( $meta['footer-adv-display']['default'] ) ) ? $meta['footer-adv-display']['default'] : 'default';
					?>
				<span>
					<input type="checkbox" id="footer-adv-display" name="footer-adv-display" value="disabled" <?php checked( $advanced_footer, 'disabled' ); ?> />
					<label for="footer-adv-display"><?php esc_html_e( 'Disable Footer Widgets', 'astra-addon' ); ?></label> <br />
				</span>
					<?php

				}
			}
		}

Changelog

Changelog
Version Description
1.0.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.