PluginProbe
Advanced Ads – Ad Manager & AdSense / 2.0.22
Advanced Ads – Ad Manager & AdSense v2.0.22
2.0.26 2.0.25 2.0.24 2.0.23 2.0.22 2.0.21 1.38.0 1.39.0 1.39.1 1.39.2 1.39.3 1.39.4 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.40.0 1.40.1 1.40.2 All 348 releases
advanced-ads / includes / interfaces / interface-module.php
interface-module.php
53 lines 948 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The interface to provide a contract for Module.
4 *
5 * @package AdvancedAds
6 * @author Advanced Ads <info@wpadvancedads.com>
7 * @since 1.48.0
8 */
9
10 namespace AdvancedAds\Interfaces;
11
12 defined( 'ABSPATH' ) || exit;
13
14 /**
15 * Interfaces Module.
16 */
17 interface Module_Interface {
18 /**
19 * Get the unique identifier (ID) of the module.
20 *
21 * @return string The unique ID of the module.
22 */
23 public function get_name(): string;
24
25 /**
26 * Get the title or name of the module.
27 *
28 * @return string The title of the module.
29 */
30 public function get_title(): string;
31
32 /**
33 * Get a description of the module.
34 *
35 * @return string The description of the module.
36 */
37 public function get_description(): string;
38
39 /**
40 * Get the URL for icon to this module.
41 *
42 * @return string The icon URL for the module.
43 */
44 public function get_image(): string;
45
46 /**
47 * Load the module.
48 *
49 * @return void
50 */
51 public function load(): void;
52 }
53