get_real_file_to_edit() WP 1.5.0
Устарела с версии 2.9.0. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.╳
Get the real filesystem path to a file to edit within the admin.
Хуков нет.
Возвращает
Строку. Full filesystem path to edit.
Использование
get_real_file_to_edit( $file );
- $file(строка) (обязательный)
- Filesystem path relative to the wp-content directory.
Список изменений
С версии 1.5.0 | Введена. |
Устарела с | 2.9.0 |
Код get_real_file_to_edit() get real file to edit WP 5.6.2
function get_real_file_to_edit( $file ) {
_deprecated_function( __FUNCTION__, '2.9.0' );
return WP_CONTENT_DIR . $file;
}