WP_Importer::is_user_over_quota()
Checks if user has exceeded disk quota.
Метод класса: WP_Importer{}
Хуков нет.
Возвращает
true|false
.
Использование
$WP_Importer = new WP_Importer(); $WP_Importer->is_user_over_quota();
Код WP_Importer::is_user_over_quota() WP Importer::is user over quota WP 6.6.1
public function is_user_over_quota() { if ( function_exists( 'upload_is_user_over_quota' ) ) { if ( upload_is_user_over_quota() ) { return true; } } return false; }