acf_get_path()ACF 5.0.0

acf_get_path

Returns the plugin path to a specified file.

No Hooks.

Returns

String.

Usage

acf_get_path( $filename );
$filename(string)
The specified file.
Default: ''

Changelog

Since 5.0.0 Introduced.

acf_get_path() code ACF 6.0.4

function acf_get_path( $filename = '' ) {
	return ACF_PATH . ltrim( $filename, '/' );
}