llms_redirect_and_exit( $location,  $options = array() )


Description Description


Source Source

File: includes/llms.functions.core.php

	function llms_redirect_and_exit( $location, $options = array() ) {

		$options = wp_parse_args( $options, array(
			'status' => 302,
			'safe' => true,
		) );

		$func = $options['safe'] ? 'wp_safe_redirect' : 'wp_redirect';
		call_user_func( $func, $location, $options['status'] );
		exit();

	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.





Permalink: