Server IP : 192.158.238.246 / Your IP : 3.144.153.204 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/7779/task/7779/cwd/plugins/woocommerce/src/Blocks/Integrations/ |
Upload File : |
<?php namespace Automattic\WooCommerce\Blocks\Integrations; /** * Integration.Interface * * Integrations must use this interface when registering themselves with blocks, */ interface IntegrationInterface { /** * The name of the integration. * * @return string */ public function get_name(); /** * When called invokes any initialization/setup for the integration. */ public function initialize(); /** * Returns an array of script handles to enqueue in the frontend context. * * @return string[] */ public function get_script_handles(); /** * Returns an array of script handles to enqueue in the editor context. * * @return string[] */ public function get_editor_script_handles(); /** * An array of key, value pairs of data made available to the block on the client side. * * @return array */ public function get_script_data(); }