ActionScheduler::plugin_path()
Get the absolute system path to the plugin directory, or a file therein
Method of the class: ActionScheduler{}
No Hooks.
Return
String
.
Usage
$result = ActionScheduler::plugin_path( $path );
- $path(string) (required)
- -
ActionScheduler::plugin_path() ActionScheduler::plugin path code WC 9.3.1
public static function plugin_path( $path ) { $base = dirname(self::$plugin_file); if ( $path ) { return trailingslashit($base).$path; } else { return untrailingslashit($base); } }