learndash_translations_url_args

apply_filters( 'learndash_translations_url_args',  array $name )

Filters translation URL arguments.


Description #


Parameters #

$name

(array) An array of URL transaltion arguments.


Source #

File: includes/class-ld-translations.php


Examples #

 <?php
/**
 * Example usage for learndash_translations_url_args filter.
 */
add_filter(
	'learndash_translations_url_args',
	function( $name ) {
		// May add any custom logic using $name.

		// Always return $name.
		return $name;
	}
);