| | |
| | | namespace JVBase\rest\routes; |
| | | |
| | | use JVBase\rest\RestRouteManager; |
| | | use JVBase\managers\CacheManager; |
| | | use JVBase\managers\Cache; |
| | | use JVBase\managers\SEO\ConfigManager; |
| | | use JVBase\managers\SEO\SchemaBuilder; |
| | | use WP_REST_Request; |
| | |
| | | } |
| | | |
| | | // Invalidate cache |
| | | $this->cache->invalidate(); |
| | | $this->cache->flush(); |
| | | |
| | | return new WP_REST_Response([ |
| | | 'success' => true, |
| | |
| | | } |
| | | |
| | | // Invalidate cache |
| | | $this->cache->invalidate(); |
| | | $this->cache->flush(); |
| | | |
| | | return new WP_REST_Response([ |
| | | 'success' => true, |
| | |
| | | } |
| | | |
| | | // Invalidate cache |
| | | $this->cache->invalidate(); |
| | | $this->cache->flush(); |
| | | |
| | | return new WP_REST_Response([ |
| | | 'success' => true, |