pre_get_language_files_from_path
Usage
add_filter( 'pre_get_language_files_from_path', 'wp_kama_pre_get_language_files_from_path_filter', 10, 2 ); /** * Function for `pre_get_language_files_from_path` filter-hook. * * @param $null * @param $path * * @return */ function wp_kama_pre_get_language_files_from_path_filter( $null, $path ){ // filter... return $null; }
- $null
- -
- $path
- -
Where the hook is called
pre_get_language_files_from_path
wp-includes/class-wp-textdomain-registry.php 187
$files = apply_filters( 'pre_get_language_files_from_path', null, $path );