getMainClass(); return $mainClass->getClassPrefix() . '_description_editor'; } public function onlyForAdmin() { return true; } public function process() { $productId = isset($_POST['id']) ? sanitize_text_field($_POST['id']) : ""; $product = ProductFactory::getWithId($productId); if ($product->getPhotos() === '#needload#') { echo '