Automator_DB::automator_generate_views()

Call views instead of complex queries on log pages


Source Source

File: src/core/class-automator-db.php

	public function automator_generate_views() {
		do_action( 'automator_database_views_before' );
		if ( AUTOMATOR_DATABASE_VIEWS_VERSION !== get_option( 'uap_database_views_version', 0 ) ) {
			self::create_views();
		}
		do_action( 'automator_activation_views_after' );
	}