BSF_Analytics::set_actions()

Setup actions for admin notice style and analytics cron event.


Description


Source

File: admin/bsf-analytics/class-bsf-analytics.php

		public function set_actions() {

			foreach ( $this->entities as $key => $data ) {
				add_action( 'astra_notice_before_markup_' . $key . '-optin-notice', array( $this, 'enqueue_assets' ) );
				add_action( 'update_option_' . $key . '_analytics_optin', array( $this, 'update_analytics_option_callback' ), 10, 3 );
				add_action( 'add_option_' . $key . '_analytics_optin', array( $this, 'add_analytics_option_callback' ), 10, 2 );
			}
		}

Changelog

Changelog
Version Description
1.0.4 Introduced.


User Contributed Notes

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