wpcf7_plugin_path()
Returns path to a plugin file.
Хуков нет.
Возвращает
Строку
. Absolute file path.
Использование
wpcf7_plugin_path( $path );
- $path(строка)
- File path relative to the plugin root directory.
По умолчанию: ''
Код wpcf7_plugin_path() wpcf7 plugin path CF7 5.9.3
function wpcf7_plugin_path( $path = '' ) { return path_join( WPCF7_PLUGIN_DIR, trim( $path, '/' ) ); }