includes_url()获取核心文件的目录wp-includes的地址

目录

描述

The includes_url template tag retrieves the url to the includes area for the current site with the appropriate protocol, 'https' if is_ssl() and 'http' otherwise.

includes_url() 描述

用法

<?php includes_url$path ); ?>

Default Usage

<?php $url includes_url(); ?>

includes_url() 用法

参数

$path

(string) (可选) Path relative to the includes url.

默认值: None

includes_url() 参数

示例

Output: http://www.example.com/wp-includes/

includes_url() 示例

注意

includes_url() 注意

相关