public function registerAdminAction() {
		global $pagenow;

		if ( $pagenow !== 'admin.php' ) {
			return;
		}

		$page_hook = $this->getAdminPageHook();
		$hook_suffix = $this->getAdminHook( $page_hook );

		add_action( "load-{$hook_suffix}", [$this, 'actionAdminLoad'] );
		add_action( $hook_suffix, [$this, 'actionAdmin'] );
	}
public function registerAdminAction() {
		global $pagenow;

		if ( $pagenow !== 'admin.php' ) {
			return;
		}

		$page_hook = $this->getAdminPageHook();
		$hook_suffix = $this->getAdminHook( $page_hook );

		add_action( "load-{$hook_suffix}", [$this, 'actionAdminLoad'] );
		add_action( $hook_suffix, [$this, 'actionAdmin'] );
	}
public function registerAdminAction ( ) { global $ pagenow ; if ( $ pagenow !== 'admin.php' ) { return ; } $ page_hook = $ this -> getAdminPageHook ( ) ; $ hook_suffix = $ this -> getAdminHook ( $ page_hook ) ; add_action ( "load-{$hook_suffix}" , [ $ this , 'actionAdminLoad' ] ) ; add_action ( $ hook_suffix , [ $ this , 'actionAdmin' ] ) ; }
Register admin action to hook into current one.

@return void
Register admin action to hook into current one .