public function register( $option_group ) {

		// Register rendering callbacks only for non-grouped controls.
		if ( empty( $this->grouped_with ) ) {
			\add_settings_field( $this->get_id(), $this->short, [ $this, 'render' ], $option_group . $this->tab_id, $this->section, $this->settings_args );
		}
	}
public function register( $option_group ) {

		// Register rendering callbacks only for non-grouped controls.
		if ( empty( $this->grouped_with ) ) {
			\add_settings_field( $this->get_id(), $this->short, [ $this, 'render' ], $option_group . $this->tab_id, $this->section, $this->settings_args );
		}
	}
public function register ( $ option_group ) { // Register rendering callbacks only for non-grouped controls. if ( empty ( $ this -> grouped_with ) ) { \ add_settings_field ( $ this -> get_id ( ) , $ this -> short , [ $ this , 'render' ] , $ option_group . $ this -> tab_id , $ this -> section , $ this -> settings_args ) ; } }
Register the control with the settings API.

@param string $option_group Application-specific prefix.
Register the control with the settings API .