
WordPress调试完整指南(启用WP_DEBUG + 其他工具)
multisite_over_quota_message ( No parameters )
multisite_over_quota_message: 当用户在WordPress Multisite中超过其存储配额时,该函数会生成一条显示给用户的信息。
在Multisite中显示存储配额不足的信息。
function multisite_over_quota_message() { echo '<p>' . sprintf( /* translators: %s: Allowed space allocation. */ __( 'Sorry, you have used your space allocation of %s. Please delete some files to upload more files.' ), size_format( get_space_allowed() * MB_IN_BYTES ) ) . '</p>'; }