wpml_home_url, home_url( /

wpml_home_url, home_url( /

Hook Type: filter

See hook in core

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

apply_filters('wpml_home_url, home_url( /') is found 1 times:

  • /app/Common/Traits/Helpers/ThirdParty.php line 367
    	 * @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( '/' ) ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound
    		// Remove URL parameters.
    		preg_match_all( '/\?[\s\S]+/', (string) $url, $matches );
    
    		// Get the base URL.
    		$url  = preg_replace( '/\?[\s\S]+/', '', (string) $url );
    		$url  = trailingslashit( $url );