This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Plugin::add_admin()
Adds plugin administration functionality
Source
File: includes/libs/plugin.class.php
private function add_admin(){ if( is_admin() || Helper::is_ajax() ) { $this->admin = new Admin( $this->get_cpt() ); } }