Automattic\WooCommerce\Admin\Features\OnboardingTasks
Task::get_parent_id
Parent ID.
Method of the class: Task{}
No Hooks.
Returns
String.
Usage
$Task = new Task(); $Task->get_parent_id();
Task::get_parent_id() Task::get parent id code WC 10.5.0
public function get_parent_id() {
if ( ! $this->task_list ) {
return '';
}
return $this->task_list->get_list_id();
}