do_action( 'wpml_start_string_package_registration', array $package );
- Type
- action
- Category
- Site-Wide Language Information
- WPML Version
- 3.6.0
Description
This action hook should be fired before we start the string package registration.
It must be used together with wpml_delete_unused_package_strings, and will allow WPML String Translation to automatically clean up the package strings that are not used anymore.
Arguments
$package: array (required) The package entity.
Related hooks
wpml_decode_custom_field, wpml_footer_language_selector, wpml_add_language_form_field, wpml_ls_exclude_in_menu, wpml_is_rtl, wpml_alternate_hreflang, wpml_head_langs, wpml_must_translate_canonical_url, wpml_browser_redirect_language_params, wpml_active_languages