src/WPametu/AutoLoader.php
public function ajax_register() {
		if ( AjaxBase::is_ajax() ) {
			foreach ( $this->ajax_controllers as $class_name ) {
				/** @var AjaxBase $instance */
				$instance = $class_name::get_instance();
				$instance->register();
			}
		}
	}
public function ajax_register() {
		if ( AjaxBase::is_ajax() ) {
			foreach ( $this->ajax_controllers as $class_name ) {
				/** @var AjaxBase $instance */
				$instance = $class_name::get_instance();
				$instance->register();
			}
		}
	}
public function ajax_register ( ) { if ( AjaxBase :: is_ajax ( ) ) { foreach ( $ this -> ajax_controllers as $ class_name ) { /** @var AjaxBase $instance */ $ instance = $ class_name :: get_instance ( ) ; $ instance -> register ( ) ; } } }
Register ajax actions
Register ajax actions