Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
OnboardingTasks::get_homepage_template( int $post_id )
Returns a homepage template to be inserted into a post. A different template will be used depending on the number of products.
Description Description
Parameters Parameters
- $post_id
-
(Required) ID of the homepage template.
Return Return
(string) Template contents.
Source Source
File: packages/woocommerce-admin/src/API/OnboardingTasks.php