home_url

home_url

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('home_url') is found 1 times:

  • /wp-includes/link-template.php line 3488
    3484
    3485
    3486
    3487
    3488
    3489
    3490
    3491
    3492
    3493
    3494
         * @param string|null $orig_scheme Scheme to give the home URL context. Accepts 'http', 'https',
         *                                 'relative', 'rest', or null.
         * @param int|null    $blog_id     Site ID, or null for the current site.
         */
        return apply_filters( 'home_url', $url, $path, $orig_scheme, $blog_id );
    }
     
    /**
     * Retrieves the URL for the current site where WordPress application files
     * (e.g. wp-blog-header.php or the wp-admin/ folder) are accessible.
     *

See this hook used in plugins: