
如何在XAMPP中更改数据库MySQL密码
media_upload_tabs ( No parameters )
media_upload_tabs – 这个动作是用来给媒体上传表格添加自定义标签的。它允许开发者在上传界面上添加自己的功能,为用户提供额外的选项。
定义了默认的媒体上传标签。
function media_upload_tabs() { $_default_tabs = array( 'type' => __( 'From Computer' ), // Handler action suffix => tab text. 'type_url' => __( 'From URL' ), 'gallery' => __( 'Gallery' ), 'library' => __( 'Media Library' ), ); /** * Filters the available tabs in the legacy (pre-3.5.0) media popup. * * @since 2.5.0 * * @param string[] $_default_tabs An array of media tabs. */ return apply_filters( 'media_upload_tabs', $_default_tabs ); }