Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
primogenial
/
wp-content
/
plugins
/
google-listings-and-ads
/
src
/
Infrastructure
:
Deactivateable.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare( strict_types=1 ); namespace Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure; /** * Something that can be deactivated. * * By implementing a class with this interface, the plugin will automatically hook * it up to the WordPress deactivation hook. This means we don't have to worry about * manually writing deactivation code. */ interface Deactivateable { /** * Deactivate the service. * * @return void */ public function deactivate(): void; }