get_plugin_files
get_plugin_files ( $plugin )
Parameters:- (string) plugin Path to the plugin file relative to the plugins directory.
Returns:- (string[]) Array of file names relative to the plugin root.
Defined at: - Introduced in WordPress: 2.8.0
- Deprecated in WordPress: —
Description
Gets a list of a plugin's files.