Resources::__construct()


Source

File: classes/Resources.php

	public function __construct() {
		add_action( 'init', [ $this, 'add_theme_support' ] );

		add_action( 'admin_enqueue_scripts', [ $this, 'load_resources' ] );
		add_action( 'wp_enqueue_scripts', [ $this, 'load_resources' ] );

		add_filter( 'dozent_load_chart_js', [ $this, 'load_chart_js' ], 10, 2 );
		add_filter( 'dozent_load_datepicker', [ $this, 'load_datepicker' ], 10, 2 );
	}