media_upload_audio() - WordPress 函数参考中文文档

返回介绍

media_upload_audio()

发布于 2017-09-11 字数1034 浏览 814 评论 0

Warning: This function has been deprecated. Use wp_media_upload_handler() instead.

media_upload_audio()

Handles uploading an audio file.


描述


返回值

(null|string)


源代码

File: wp-admin/includes/deprecated.php

function media_upload_audio() {
	_deprecated_function( __FUNCTION__, '3.3.0', 'wp_media_upload_handler()' );
	return wp_media_upload_handler();
}

更新日志

Version 描述
3.3.0 Introduced.

相关函数

Uses

  • wp-admin/includes/media.php:
    wp_media_upload_handler()
  • wp-includes/functions.php:
    _deprecated_function()

User Contributed Notes

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

目前还没有任何评论,快来抢沙发吧!