Filter hook 'load_script_textdomain_relative_path'

in WP Core File wp-includes/l10n.php at line 1249

Description

Filters the relative path of scripts used for finding translation files.

Occurrences

Filename Line Number
wp-includes/l10n.php 1249

Parameters

Type Name Description
string|false $relative The relative path of the script. False if it could not be determined.
string $src The full source URL of the script.

PHP Doc

/**
	 * Filters the relative path of scripts used for finding translation files.
	 *
	 * @since 5.0.2
	 *
	 * @param string|false $relative The relative path of the script. False if it could not be determined.
	 * @param string       $src      The full source URL of the script.
	 */