Filter
rpress_get_symlink_dir
On this page
Filters the absolute path of the symlink directory in the uploads folder.
The directory is rpress/symlinks inside the uploads directory and is created if missing.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$path | string | Symlink directory path. |
Return value#
string. The path.
Example#
function my_symlink_dir( $path ) {
return $path;
}
add_filter( 'rpress_get_symlink_dir', 'my_symlink_dir' );
Source#
Applied in:
includes/rp-core-functions.php(line 2428), inrpress_get_symlink_dir()
See also#
Was this page helpful?
