wpml_home_url

wpml_home_url

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

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.8.1.1

apply_filters('wpml_home_url') is found 1 times:

  • /app/Common/Traits/Helpers/ThirdParty.php line 292
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    * @param  string $path The relative path of the URL.
     * @return string $url  The filtered URL.
     */
    public function localizedUrl( $path ) {
        $url = apply_filters( 'wpml_home_url', home_url( '/' ) );
     
        // Remove URL parameters.
        preg_match_all( '/\?[\s\S]+/', (string) $url, $matches );
     
        // Get the base URL.
        $url  = preg_replace( '/\?[\s\S]+/', '', (string) $url );