admin_url

admin_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('admin_url') is found 1 times:

  • /wp-includes/link-template.php line 3600
    3596
    3597
    3598
    3599
    3600
    3601
    3602
    3603
    3604
    3605
    3606
         * @param int|null    $blog_id Site ID, or null for the current site.
         * @param string|null $scheme  The scheme to use. Accepts 'http', 'https',
         *                             'admin', or null. Default 'admin', which obeys force_ssl_admin() and is_ssl().
         */
        return apply_filters( 'admin_url', $url, $path, $blog_id, $scheme );
    }
     
    /**
     * Retrieves the URL to the includes directory.
     *
     * @since 2.6.0

See this hook used in plugins: