private function setup_pages() {

		$args                 = array(
			'capability' => 'manage_options',
			'icon'       => null,
			'position'   => null,
		);
		$this->struct['args'] = array_merge( $args, $this->struct );

		if ( ! isset( $this->struct['parent'] ) ) {
			add_action( 'admin_menu', array( $this, 'add_settings_page' ), 9 );
		} else {
			add_action( 'admin_menu', array( $this, 'add_sub_page' ), 9 );
		}

	}
private function setup_pages() {

		$args                 = array(
			'capability' => 'manage_options',
			'icon'       => null,
			'position'   => null,
		);
		$this->struct['args'] = array_merge( $args, $this->struct );

		if ( ! isset( $this->struct['parent'] ) ) {
			add_action( 'admin_menu', array( $this, 'add_settings_page' ), 9 );
		} else {
			add_action( 'admin_menu', array( $this, 'add_sub_page' ), 9 );
		}

	}
private function setup_pages ( ) { $ args = array ( 'capability' => 'manage_options' , 'icon' => null , 'position' => null , ) ; $ this -> struct [ 'args' ] = array_merge ( $ args , $ this -> struct ) ; if ( ! isset ( $ this -> struct [ 'parent' ] ) ) { add_action ( 'admin_menu' , array ( $ this , 'add_settings_page' ) , 9 ) ; } else { add_action ( 'admin_menu' , array ( $ this , 'add_sub_page' ) , 9 ) ; } }
Adds settings page to admin

@since 1.0.0
@access private
Adds settings page to admin