: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* @copyright Copyright (c) 2023, Code Atlantic LLC
if ( ! defined( 'ABSPATH' ) ) {
* Interface PUM_Interface_Provider
interface PUM_Interface_Provider {
* Determines whether to load this providers fields in the shortcode editor among other things.
public function enabled();
* Contains each providers unique global settings.
public function register_settings();
* Contains each providers unique global settings tab sections..
public function register_settings_tab_section( $sections = [] );
* Creates the inputs for each of the needed extra fields for the email provider
public function render_fields( $shortcode_atts );
* Allows processing of form value sanitization.
public function form_sanitization( $values = [] );
* Allows processing of form value validation.
* @param WP_Error $errors
public function form_validation( WP_Error $errors, $values = [] );
* Subscribes the user to the list.
* @param array $json_response
* @param WP_Error $errors
public function form_submission( $values, &$json_response, WP_Error &$errors );