wp_register_plugin_realpath
wp_register_plugin_realpath ( $file )
Parameters:- (string) file Known path to the file.
See:Returns:- (bool) Whether the path was able to be registered.
Defined at: - Introduced in WordPress: 3.9.0
- Deprecated in WordPress: —
Description
Register a plugin's real path.This is used in plugin_basename() to resolve symlinked paths.