wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
pre_get_language_files_from_path › Filtr WordPress Hooks
Od6.5.0
Przestarzałyn/a
› apply_filters( 'pre_get_language_files_from_path', null, $path )
Parametry: (2) |
|
Zdefiniowane na: |
|
Codex: |
Filters the translation files retrieved from a specified path before the actual lookup.
Returning a non-null value from the filter will effectively short-circuit the MO files lookup, returning that value instead.
This can be useful in situations where the directory contains a large number of files and the default glob() function becomes expensive in terms of performance.
Powiązane Funkcje: _wp_get_image_size_from_meta, get_parent_theme_file_path, get_theme_file_path, wp_install_language_form, wp_delete_file_from_directory, _get_plugin_from_callback