public function setup_on_plugins_loaded() {

		// Register core text domain.
		\load_plugin_textdomain( 'hogan-core', false, HOGAN_CORE_DIR . '/languages' );

		// Register all modules when acf is ready.
		add_action( 'acf/include_fields', [ $this, 'include_modules' ] );

		// Register default field group.
		add_action( 'hogan/include_field_groups', [ $this, 'register_default_field_group' ] );

		// Register all field groups when acf is ready.
		add_action( 'acf/include_fields', [ $this, 'include_field_groups' ] );

		// Add admin stylesheets and scripts.
		add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_admin_assets' ] );

		// Enqueue Scripts.
		add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_core_assets' ] );
		add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_current_post_modules_assets' ] );

	}
public function setup_on_plugins_loaded() {

		// Register core text domain.
		\load_plugin_textdomain( 'hogan-core', false, HOGAN_CORE_DIR . '/languages' );

		// Register all modules when acf is ready.
		add_action( 'acf/include_fields', [ $this, 'include_modules' ] );

		// Register default field group.
		add_action( 'hogan/include_field_groups', [ $this, 'register_default_field_group' ] );

		// Register all field groups when acf is ready.
		add_action( 'acf/include_fields', [ $this, 'include_field_groups' ] );

		// Add admin stylesheets and scripts.
		add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_admin_assets' ] );

		// Enqueue Scripts.
		add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_core_assets' ] );
		add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_current_post_modules_assets' ] );

	}
public function setup_on_plugins_loaded ( ) { // Register core text domain. \ load_plugin_textdomain ( 'hogan-core' , false , HOGAN_CORE_DIR . '/languages' ) ; // Register all modules when acf is ready. add_action ( 'acf/include_fields' , [ $ this , 'include_modules' ] ) ; // Register default field group. add_action ( 'hogan/include_field_groups' , [ $ this , 'register_default_field_group' ] ) ; // Register all field groups when acf is ready. add_action ( 'acf/include_fields' , [ $ this , 'include_field_groups' ] ) ; // Add admin stylesheets and scripts. add_action ( 'admin_enqueue_scripts' , [ $ this , 'enqueue_admin_assets' ] ) ; // Enqueue Scripts. add_action ( 'wp_enqueue_scripts' , [ $ this , 'enqueue_core_assets' ] ) ; add_action ( 'wp_enqueue_scripts' , [ $ this , 'enqueue_current_post_modules_assets' ] ) ; }
Init hooks and filter on plugins_loaded.

@return void
Init hooks and filter on plugins_loaded .