Function wc_create_page

Create a page and store the ID in an option.

Package: WooCommerce\Admin\Functions
Author: WooThemes
Located at includes/admin/wc-admin-functions.php

Parameters summary

mixed $slug Slug for the new page
mixed $option = '' Option name to store the page's ID
string $page_title = '' (default: '') Title for the new page
string $page_content = '' (default: '') Content for the new page
integer $post_parent = 0 (default: 0) Parent for the new page

Return value summary

integer page ID
WooCommerce API documentation generated by ApiGen 2.8.0