Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2/**
3 * Required settings for the plugin.
4 *
5 * @package    brianhenryie/bh-wp-bitcoin-gateway
6 */
7
8namespace BrianHenryIE\WP_Bitcoin_Gateway;
9
10/**
11 * Typed settings, presumably saved in `wp_options`.
12 */
13interface Settings_Interface {
14
15    /**
16     * Needed to add links on plugins.php.
17     */
18    public function get_plugin_basename(): string;
19
20    /**
21     * Semver plugin version for caching of js + css.
22     * Version compare during upgrade.
23     */
24    public function get_plugin_version(): string;
25
26    /**
27     * The URL to the plugin folder.
28     * E.g. `https://example.org/wp-content/plugins/bh-wp-bitcoin-gateway/`.
29     *
30     * Has trailing slash.
31     */
32    public function get_plugin_url(): string;
33
34    /**
35     * Get the absolute path to the plugin root on the server filesystem, with trailingslash.
36     */
37    public function get_plugin_dir(): string;
38}