Core Function
View Source on Trac ↗ wp_register_plugin_realpath()
wp_register_plugin_realpath( mixed $file ) Register a plugin's real path.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $file string | Known path to the file. Required |
Return Value
(bool)
Whether the path was able to be registered.
Function Information
Since Version
3.9.0
Source File
wp-includes/plugin.php
Advertisement