woocommerce_create_page()WC 1.0

Deprecated since 2.1. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

No Hooks.

Returns

Int.

Usage

woocommerce_create_page( $slug, $option, $page_title, $page_content, $post_parent );
$slug(required)
.
$option
.
Default: ''
$page_title
.
Default: ''
$page_content
.
Default: ''
$post_parent
.

Changelog

Deprecated since 2.1

woocommerce_create_page() code WC 10.6.2

function woocommerce_create_page( $slug, $option = '', $page_title = '', $page_content = '', $post_parent = 0 ) {
	wc_deprecated_function( 'woocommerce_create_page', '2.1', 'wc_create_page' );
	return wc_create_page( $slug, $option, $page_title, $page_content, $post_parent );
}