DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
how to get plugin directory path in wordpress
foreach ( glob( plugin_dir_path( __FILE__ ) . "subfolder/*.php" ) as $file ) { include_once $file; }
Source by developer.wordpress.org #
PREVIOUS
NEXT
Tagged:
#plugin
#directory
#path
#wordpress
ADD COMMENT
Topic
COMMENT
Name
6+6 =
Submit