Skip to content

Instantly share code, notes, and snippets.

@arunbasillal
Last active March 31, 2023 09:07
Show Gist options
  • Save arunbasillal/ffc3170a35765e1d7899ef54520cfdc1 to your computer and use it in GitHub Desktop.
Save arunbasillal/ffc3170a35765e1d7899ef54520cfdc1 to your computer and use it in GitHub Desktop.
Load translation files for Image Attributes Pro
/**
* Load translation files for Image Attributes Pro
*/
function iaff_load_plugin_textdomain() {
load_plugin_textdomain( 'auto-image-attributes-from-filename-with-bulk-updater', false, '/auto-image-attributes-from-filename-with-bulk-updater/languages/' );
}
add_action( 'plugins_loaded', 'iaff_load_plugin_textdomain' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment