WordPress开发者和主题制作者的搜索引擎



get_real_file_to_edit ›

Since1.5.0
已弃用2.9.0
get_real_file_to_edit ( $file )
参数:
  • (string) $file Filesystem path relative to the wp-content directory.
    Required: Yes
用户:
  • WP_CONTENT_DIR
返回:
  • (string) Full filesystem path to edit.
定义在:
文档:

Get the real filesystem path to a file to edit within the admin.



源码

function get_real_file_to_edit( $file ) {
	_deprecated_function( __FUNCTION__, '2.9.0' );

	return WP_CONTENT_DIR . $file;
}