首页 WordPress函数大全 get_plugin_files()

get_plugin_files()

2020-05-01 / 5001阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_plugin_files( string $plugin )

Get a list of a plugin’s files.

描述

参数

$plugin

(string)
(Required)
Path to the plugin file relative to the plugins directory.

返回

(string[]) Array of file names relative to the plugin root.

大家谈论
    我的见解