WPML
do_action( 'wpml_delete_unused_package_strings', array $package );
Type
action
WPML Version
3.6.0

Description

This action should be fired when the package strings registration is completed.

It must be used together with wpml_start_string_package_registration, and will allow WPML String Translation to automatically clean up the string packages that are not used anymore.

Arguments

$packagearray (required) The package entity.

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

All 29 Site-Wide Language Information hooks →