code: public function admin() {
  
  		$this->set_options();
  
  		add_action( 'init', [ $this, 'set_language' ] );
  
  		$namespace = Module::CustomImagesGrifus()->getOption( 'namespaces' );
  		$pages     = Module::CustomImagesGrifus()->getOption( 'pages' );
  		App::main()->set_menus( $pages, $namespace['admin-page'] );
  		$image = Module::CustomImagesGrifus()->getControllerInstance( 'Image' );
  
  		add_action( 'wp_insert_post', [ $image, 'set_images' ], 10, 3 );
  		add_action( 'before_delete_post', [ $image, 'delete_attached_images' ], 10, 1 );
  	}
docs: Admin initializer method.
  
  @uses add_action() → hooks a function on to a specific action