) || ! get_option( 'eael_gb_eb_popup_hide' ) ) ) {
add_action( 'enqueue_block_editor_assets', [ $this, 'essential_blocks_promo_enqueue_scripts' ] );
add_action( 'admin_notices', [ $this, 'essential_block_optin' ] );
add_action( 'eael_admin_notices', [ $this, 'essential_block_special_optin' ], 100 );
add_action( 'wp_ajax_eael_eb_optin_notice_dismiss', [ $this, 'eael_eb_optin_notice_dismiss' ] );
add_action( 'wp_ajax_eael_gb_eb_popup_dismiss', [ $this, 'eael_gb_eb_popup_dismiss' ] );
}
if( class_exists( 'woocommerce' ) ) {
// quick view
add_action( 'eael_woo_single_product_image', 'woocommerce_show_product_images', 20 );
add_action( 'eael_woo_single_product_summary', 'woocommerce_template_single_title', 5 );
add_action( 'eael_woo_single_product_summary', 'woocommerce_template_single_rating', 10 );
add_action( 'eael_woo_single_product_summary', 'woocommerce_template_single_price', 15 );
add_action( 'eael_woo_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
add_action( 'eael_woo_single_product_summary', 'woocommerce_template_single_add_to_cart', 25 );
add_action( 'eael_woo_single_product_summary', 'woocommerce_template_single_meta', 30 );
add_filter( 'woocommerce_product_get_rating_html', [ $this, 'eael_rating_markup' ], 10, 3 );
add_filter( 'eael_product_wrapper_class', [ $this, 'eael_product_wrapper_class' ], 10, 3 );
add_action('wp_ajax_eael_checkout_cart_qty_update', [$this, 'eael_checkout_cart_qty_update'] );
add_action('wp_ajax_nopriv_eael_checkout_cart_qty_update', [$this, 'eael_checkout_cart_qty_update'] );
add_action( 'wp_loaded', [ $this, 'eael_woo_cart_empty_action' ], 20 );
add_filter( 'woocommerce_checkout_fields', [ $this, 'eael_customize_woo_checkout_fields' ] );
add_action( 'eael_woo_before_product_loop', function ( $layout ) {
if ( $layout === 'eael-product-default' ) {
return;
}
remove_action( 'woocommerce_before_shop_loop_item', 'woocommerce_template_loop_product_link_open' );
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_product_link_close' );
remove_action( 'woocommerce_after_shop_loop_item', 'astra_woo_woocommerce_shop_product_content' );
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart' );
} );
add_action( 'eael_woo_after_product_loop', function ( $layout ) {
if ( $layout === 'eael-product-default' ) {
return;
}
add_action( 'woocommerce_before_shop_loop_item', 'woocommerce_template_loop_product_link_open' );
add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_product_link_close' );
add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart' );
if( function_exists( 'astra_woo_woocommerce_shop_product_content' ) ){
add_action( 'woocommerce_after_shop_loop_item', 'astra_woo_woocommerce_shop_product_content' );
}
} );
}
// Admin
if ( is_admin() ) {
// Admin
if (!$this->pro_enabled) {
$this->admin_notice();
} else {
new WPDeveloper_Core_Installer( basename( EAEL_PLUGIN_BASENAME, '.php' ) );
}
add_action('admin_menu', array($this, 'admin_menu'));
add_action('admin_enqueue_scripts', array($this, 'admin_enqueue_scripts'));
// Core
add_filter('plugin_action_links_' . EAEL_PLUGIN_BASENAME, array($this, 'insert_plugin_links'));
add_filter('plugin_row_meta', array($this, 'insert_plugin_row_meta'), 10, 2);
// removed activation redirection temporarily
// add_action('admin_init', array($this, 'redirect_on_activation'));
if ( ! did_action( 'elementor/loaded' ) ) {
add_action( 'admin_notices', array( $this, 'elementor_not_loaded' ) );
add_action( 'eael_admin_notices', array( $this, 'elementor_not_loaded' ) );
}
add_action( 'in_admin_header', [ $this, 'remove_admin_notice' ], 99 );
//handle typeform auth token
add_action('admin_init', [$this, 'typeform_auth_handle']);
// On Editor - Register WooCommerce frontend hooks before the Editor init.
// Priority = 5, in order to allow plugins remove/add their wc hooks on init.
if ( ! empty( $_REQUEST['action'] ) && 'elementor' === $_REQUEST['action'] ) {
add_action( 'init', [ $this, 'register_wc_hooks' ], 5 );
}
// update admin menu notice flag once visit EA settings page
add_action( 'eael_admin_page_setting', [ $this, 'eael_show_admin_menu_notice' ] );
// Black Friday Optin
add_action( 'admin_notices', [ $this, 'eael_black_friday_optin' ] );
add_action( 'eael_admin_notices', [ $this, 'eael_black_friday_optin' ] );
add_action( 'wp_ajax_eael_black_friday_optin_dismiss', [ $this, 'eael_black_friday_optin_dismiss' ] );
if ( ! current_user_can( 'administrator' ) ) {
add_filter( 'elementor/document/save/data', function ( $data ) {
if ( isset( $data['settings']['eael_custom_js'] ) ) {
$data['settings']['eael_custom_js'] = get_post_meta( get_the_ID(), '_eael_custom_js', true );
}
if ( empty( $data['elements'] ) ) {
return $data;
}
$data['elements'] = Plugin::$instance->db->iterate_data( $data['elements'], function ( $element ) {
if ( isset( $element['widgetType'] ) && $element['widgetType'] === 'eael-login-register' ) {
if ( ! empty( $element['settings']['register_user_role'] ) ) {
$element['settings']['register_user_role'] = '';
}
}
if ( isset( $element['widgetType'] ) && $element['widgetType'] === 'eicon-woocommerce' ) {
if ( ! empty( $element['settings']['eael_product_grid_products_status'] ) ) {
$element['settings']['eael_product_grid_products_status'] = [ 'publish' ];
}
}
return $element;
} );
return $data;
} );
}
} else {
add_action( 'wp', [ $this, 'eael_post_view_count' ] );
}
// beehive theme compatibility
add_filter( 'beehive_scripts', array( $this, 'beehive_theme_swiper_slider_compatibility' ), 999 );
}
}
Schilderen op muziek - Alles voor Elkaar
Ga naar de inhoud
Schilderen op muziek
Datum/Tijd
zo 1 nov 2020 11:00 - 13:00 uur
Op zondagochtend komen de buren en deelnemers bij elkaar om onder het genot van een bakje koffie of thee en gezellige muziek, met elkaar te schilderen. Deelname is gratis. Iedereen is welkom! Tot zondag.
Al onze activiteiten vinden plaats met in achtneming van de corona regels. Dit houdt in dat u zich moet aanmelden alvorens langs te komen zodat we de regels kunnen waarborgen.
Aanmelden
Je kunt je aanmelden voor deze activiteit via
het contactformulier