WordPress at Your Fingertips
function is not described

WC_Admin_Addons::get_section() public WC 1.0

Get section for the addons screen.

{} It's a method of the class: WC_Admin_Addons{}

No Hooks.

Return

Object|true|false.

Usage

$result = WC_Admin_Addons::get_section( $section_id );
$section_id(string) (required)
Required section ID.

Code of WC_Admin_Addons::get_section() WC 5.9.0

public static function get_section( $section_id ) {
	$sections = self::get_sections();
	if ( isset( $sections[ $section_id ] ) ) {
		return $sections[ $section_id ];
	}
	return false;
}