label ) || empty( $this->label ) ) {
return $tabs;
}
ob_start();
?>
has_description() ) : ?>
get_description(); ?>
tab_content(); ?>
$this->label,
'content' => $tab_content,
);
return $tabs;
}
public function tab_content() {}
public function has_description() {
return isset( $this->description ) && ! empty( $this->description );
}
public function get_description() {
return $this->description;
}
}