override_unload_textdomain

override_unload_textdomain

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('override_unload_textdomain') is found 1 times:

  • /wp-includes/l10n.php line 893
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    * @param bool   $override   Whether to override the text domain unloading. Default false.
     * @param string $domain     Text domain. Unique identifier for retrieving translated strings.
     * @param bool   $reloadable Whether the text domain can be loaded just-in-time again.
     */
    $plugin_override = apply_filters( 'override_unload_textdomain', false, $domain, $reloadable );
     
    if ( $plugin_override ) {
        if ( ! $reloadable ) {
            $l10n_unloaded[ $domain ] = true;
        }