https://wpml.org/wpml-hook/wpml_register_single_string/
Requires: "WPML String Translation" module
Example:
$value = 'Movie';
do_action( 'wpml_register_single_string', 'my-text-domain', 'Singular Label', $value );
Can we fetch our registered settings, iterate over and push that through to this hook, and have it work, without having to also drop this action throughout the rest of our codebase? Would allow for a compatibility file that we load as needed.
Or, do we just need to run this upon save functions? Is there an unregister equivalent?
https://wpml.org/wpml-hook/wpml_register_single_string/
Requires: "WPML String Translation" module
Example:
Can we fetch our registered settings, iterate over and push that through to this hook, and have it work, without having to also drop this action throughout the rest of our codebase? Would allow for a compatibility file that we load as needed.
Or, do we just need to run this upon save functions? Is there an unregister equivalent?