esc_html__( 'Advertisements', 'bloghash' ), 'priority' => 4, ); // Advertisement widgets. $options['setting']['bloghash_ad_widgets'] = array( 'transport' => 'refresh', 'sanitize_callback' => 'bloghash_sanitize_widget', 'control' => array( 'type' => 'bloghash-widget', 'label' => esc_html__( 'Advertisement Widgets', 'bloghash' ), 'section' => 'bloghash_section_advertisement', 'widgets' => apply_filters( 'bloghash_main_ad_widgets', array( 'advertisements' => array( 'max_uses' => 2, 'display_areas' => array( 'before_header' => esc_html__( 'Before Header', 'bloghash' ), 'after_header' => esc_html__( 'After Header', 'bloghash' ), 'before_post_archive' => esc_html__( 'Before post archive', 'bloghash' ), 'random_post_archives' => esc_html__( 'Random post archives', 'bloghash' ), 'before_post_content' => esc_html__( 'Before post content', 'bloghash' ), 'after_post_content' => esc_html__( 'After post content', 'bloghash' ), 'before_footer' => esc_html__( 'Before footer', 'bloghash' ), 'after_footer' => esc_html__( 'After footer', 'bloghash' ), ), ), ) ), 'visibility' => array( 'all' => esc_html__( 'Show on All Devices', 'bloghash' ), 'hide-mobile' => esc_html__( 'Hide on Mobile', 'bloghash' ), 'hide-tablet' => esc_html__( 'Hide on Tablet', 'bloghash' ), 'hide-mobile-tablet' => esc_html__( 'Hide on Mobile and Tablet', 'bloghash' ), ), ), ); return $options; } } endif; new Bloghash_Customizer_Advertisement();