Astra_API_Init::__construct()

Constructor


Description


Source

File: admin/includes/class-astra-api-init.php

	public function __construct() {
		self::$astra_admin_settings = get_option( self::$option_name, array() );

		// REST API extensions init.
		add_action( 'rest_api_init', array( $this, 'register_routes' ) );

		add_action( 'astra_get_knowledge_base_data', array( $this, 'astra_kb_data_scheduler' ) );
		add_filter( 'init', array( $this, 'astra_run_scheduled_docs_job' ) );
	}

Changelog

Changelog
Version Description
4.0.0 Introduced.


User Contributed Notes

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