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.


Top ↑

Return Return

(string) Template contents.


Top ↑

Source Source

File: packages/woocommerce-admin/src/API/OnboardingTasks.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.