Astra_Theme_Update::__construct()

Constructor


Description


Source

File: inc/theme-update/class-astra-theme-update.php

		public function __construct() {

			// Theme Updates.
			if ( is_admin() ) {
				add_action( 'admin_init', __CLASS__ . '::init', 5 );
			} else {
				add_action( 'wp', __CLASS__ . '::init', 5 );
			}
			add_action( 'init', __CLASS__ . '::astra_pro_compatibility' );
		}

User Contributed Notes

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