mc_get_current_url - joedolson/my-calendar GitHub Wiki
Filter the URL returned for the current URL.
Auto-generated Example
add_filter(
'mc_get_current_url',
function( string $current_url ) {
// Your code here.
return $current_url;
}
);
Parameters
string$current_urlCurrent URL according to wp_rewrite.
Returns
string
Files
apply_filters( 'mc_get_current_url', $current_url )