public/wordpress/wp-content/plugins/wp-courseware/includes/functions/deprecated.php
/**
 * Creates the correct URL for course units, showing module and course names.
 *
 * @since 4.1.0
 *
 * @deprecated 4.4.0
 *
 * @param string $post_link The current permalinkf for the unit (which includes %module_number%).
 * @param object $post The object of the post for which a URL is requested.
 */
Creates the correct URL for course units, showing module and course names.



@param string $post_link The current permalinkf for the unit (which includes %module_number%).
@param object $post The object of the post for which a URL is requested.
Creates the correct URL for course units showing module and course names . @param string $post_link The current permalinkf for the unit ( which includes %module_number% ) . @param object $post The object of the post for which a URL is requested .
function WPCW_units_createCorrectUnitURL( $post_link, $post = 0, $leavename = false ) {
	_deprecated_function( __FUNCTION__, '4.4.0', '\WPCW\Controllers\Units\post_type_link' );
	return wpcw()->units->post_type_link( $post_link, $post, $leavename, false );
}
function WPCW_units_createCorrectUnitURL ( $ post_link , $ post = 0 , $ leavename = false ) { _deprecated_function ( __FUNCTION__ , '4.4.0' , '\WPCW\Controllers\Units\post_type_link' ) ; return wpcw ( ) -> units -> post_type_link ( $ post_link , $ post , $ leavename , false ) ; }
Creates the correct URL for course units, showing module and course names.
Creates the correct URL for course units showing module and course names .