woocommerce_create_page()
Deprecated from version 2.1. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.
No Hooks.
Return
null
. Nothing (null).
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() woocommerce create page code WC 9.6.1
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 ); }