public/wordpress/wp-content/plugins/wp-courseware/includes/controllers/checkout.php
/**
	 * Create Checkout Terms and Conditions Page.
	 *
	 * @since 4.3.0
	 *
	 * @return bool|int $page_id The page to be created.
	 */
Create Checkout Terms and Conditions Page.

@return bool|int $page_id The page to be created.
Create Checkout Terms and Conditions Page . @return bool|int $page_id The page to be created .
public function create_checkout_terms_page() {
		return wp_insert_post(
			array(
				'post_title'     => __( 'Terms & Conditions', 'wp-courseware' ),
				'post_content'   => '',
				'post_status'    => 'publish',
				'post_author'    => 1,
				'post_type'      => 'page',
				'comment_status' => 'closed',
				'menu_order'     => 14,
			)
		);
	}
public function create_checkout_terms_page ( ) { return wp_insert_post ( array ( 'post_title' => __ ( 'Terms & Conditions' , 'wp-courseware' ) , 'post_content' => '' , 'post_status' => 'publish' , 'post_author' => 1 , 'post_type' => 'page' , 'comment_status' => 'closed' , 'menu_order' => 14 , ) ) ; }
Create Checkout Terms and Conditions Page.
Create Checkout Terms and Conditions Page .