src/traits/hook.php
private function load_cache_settings() {
		if ( $this->app->isset_shared_object( 'is_valid_hook_cache' ) ) {
			return;
		}

		$this->app->set_shared_object( 'is_valid_hook_cache', ! empty( $this->app->get_config( 'config', 'cache_filter_result' ) ) );
		$prevent_cache = $this->app->get_config( 'config', 'cache_filter_exclude_list', [] );
		$prevent_cache = empty( $prevent_cache ) ? [] : array_combine(
			$prevent_cache,
			array_fill( 0, count( $prevent_cache ), true )
		);
		$this->app->set_shared_object( 'prevent_hook_cache', $prevent_cache );
		$this->app->set_shared_object( 'hook_cache', [] );
	}
private function load_cache_settings() {
		if ( $this->app->isset_shared_object( 'is_valid_hook_cache' ) ) {
			return;
		}

		$this->app->set_shared_object( 'is_valid_hook_cache', ! empty( $this->app->get_config( 'config', 'cache_filter_result' ) ) );
		$prevent_cache = $this->app->get_config( 'config', 'cache_filter_exclude_list', [] );
		$prevent_cache = empty( $prevent_cache ) ? [] : array_combine(
			$prevent_cache,
			array_fill( 0, count( $prevent_cache ), true )
		);
		$this->app->set_shared_object( 'prevent_hook_cache', $prevent_cache );
		$this->app->set_shared_object( 'hook_cache', [] );
	}
private function load_cache_settings ( ) { if ( $ this -> app -> isset_shared_object ( 'is_valid_hook_cache' ) ) { return ; } $ this -> app -> set_shared_object ( 'is_valid_hook_cache' , ! empty ( $ this -> app -> get_config ( 'config' , 'cache_filter_result' ) ) ) ; $ prevent_cache = $ this -> app -> get_config ( 'config' , 'cache_filter_exclude_list' , [ ] ) ; $ prevent_cache = empty ( $ prevent_cache ) ? [ ] : array_combine ( $ prevent_cache , array_fill ( 0 , count ( $ prevent_cache ) , true ) ) ; $ this -> app -> set_shared_object ( 'prevent_hook_cache' , $ prevent_cache ) ; $ this -> app -> set_shared_object ( 'hook_cache' , [ ] ) ; }
load cache settings
load cache settings