Changeset 59433 for branches/6.7/tests/phpunit/data/plugins/custom-internationalized-plugin/custom-internationalized-plugin.php
- Timestamp:
- 11/20/2024 01:32:57 PM (3 months ago)
- Location:
- branches/6.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.7
-
branches/6.7/tests/phpunit/data/plugins/custom-internationalized-plugin/custom-internationalized-plugin.php
r53874 r59433 8 8 */ 9 9 10 load_plugin_textdomain( 'custom-internationalized-plugin', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 10 function custom_i18n_load_textdomain() { 11 load_plugin_textdomain( 'custom-internationalized-plugin', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 12 } 13 14 add_action( 'init', 'custom_i18n_load_textdomain' ); 11 15 12 16 function custom_i18n_plugin_test() {
Note: See TracChangeset
for help on using the changeset viewer.