PluginProbe
Stripe Payment Forms by WP Simple Pay – Accept Credit Card Payments + Subscriptions with Stripe / trunk
Stripe Payment Forms by WP Simple Pay – Accept Credit Card Payments + Subscriptions with Stripe vtrunk
4.17.3 trunk 2.2.0 2.3.0 2.3.1 2.3.2 2.3.3 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.6.0 2.6.1 2.6.2 2.6.3 4.10.0 4.11.1 4.12.2 4.14.1 4.14.2 4.14.3 4.15.0 4.16.0 All 59 releases
stripe / src / Emails / Template / TemplateInterface.php

TemplateInterface.php in Stripe Payment Forms by WP Simple Pay – Accept Credit Card Payments + Subscriptions with Stripe trunk, at src/Emails/Template/TemplateInterface.php

64 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Emails: Template interface
4 *
5 * @package SimplePay
6 * @copyright Copyright (c) 2023, Sandhills Development, LLC
7 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
8 * @since 4.7.3
9 */
10
11 namespace SimplePay\Core\Emails\Template;
12
13 if ( ! defined( 'ABSPATH' ) ) {
14 exit;
15 }
16
17 /**
18 * TemplateInterface interface.
19 *
20 * @since 4.7.3
21 */
22 interface TemplateInterface {
23
24 /**
25 * Returns the CSS styles for the template.
26 *
27 * @since 4.7.3
28 *
29 * @return string
30 */
31 public function get_styles();
32
33 /**
34 * Returns the header markup for the template.
35 *
36 * @since 4.7.3
37 *
38 * @param string $content The header content of the email.
39 * @return string
40 */
41 public function get_header( $content );
42
43 /**
44 * Returns the body of the email.
45 *
46 * @since 4.7.3
47 *
48 * @param string $content The content of the email.
49 * @return string
50 */
51 public function get_body( $content );
52
53 /**
54 * Returns the footer of the email.
55 *
56 * @since 4.7.3
57 *
58 * @param string $content The footer content of the email.
59 * @return string
60 */
61 public function get_footer( $content );
62
63 }
64