Server IP : 172.67.158.161 / Your IP : 18.116.65.1 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/home/giankuin/khowordpress.com/wp-content/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(); }