-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
30 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
* GitHub URI: https://github.com/wp-pay-extensions/contact-form-7 | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\ContactForm7 | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Contact Form 7 Dependency | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\ContactForm7 | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Extension | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\ContactForm7 | ||
*/ | ||
|
@@ -21,7 +21,7 @@ | |
/** | ||
* Title: WordPress pay extension Contact Form 7 extension | ||
* Description: | ||
* Copyright: 2005-2023 Pronamic | ||
* Copyright: 2005-2024 Pronamic | ||
* Company: Pronamic | ||
* | ||
* @author Reüel van der Steege | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Pronamic | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\MemberPress | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Submission helper | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\ContactForm7 | ||
*/ | ||
|
@@ -19,14 +19,14 @@ | |
class SubmissionHelper { | ||
/** | ||
* Submission. | ||
* | ||
* | ||
* @var WPCF7_Submission | ||
*/ | ||
private $submission; | ||
|
||
/** | ||
* Construct submission helper object. | ||
* | ||
* | ||
* @param WPCF7_Submission $submission Submission. | ||
*/ | ||
public function __construct( $submission ) { | ||
|
@@ -35,7 +35,7 @@ public function __construct( $submission ) { | |
|
||
/** | ||
* Filter tags. | ||
* | ||
* | ||
* @param callable $callback Filter function. | ||
* @return WPCF7_FormTag[] | ||
*/ | ||
|
@@ -48,7 +48,7 @@ private function filter_tags( $callback ) { | |
|
||
/** | ||
* Get tags by basetype or option. | ||
* | ||
* | ||
* @param string $value Name or option. | ||
* @return WPCF7_FormTag[] | ||
*/ | ||
|
@@ -68,7 +68,7 @@ function ( $tag ) use ( $value ) { | |
|
||
/** | ||
* Get tags by basetype. | ||
* | ||
* | ||
* @param string $basetype Basetype. | ||
* @return WPCF7_FormTag[] | ||
*/ | ||
|
@@ -82,7 +82,7 @@ function ( $tag ) use ( $basetype ) { | |
|
||
/** | ||
* Get tags by name. | ||
* | ||
* | ||
* @param string $name Name. | ||
* @return WPCF7_FormTag[] | ||
*/ | ||
|
@@ -96,7 +96,7 @@ function ( $tag ) use ( $name ) { | |
|
||
/** | ||
* Get tags with option. | ||
* | ||
* | ||
* @param string $option Option. | ||
* @return WPCF7_FormTag[] | ||
*/ | ||
|
@@ -112,7 +112,7 @@ function ( $tag ) use ( $option ) { | |
* Get hidden fields. | ||
* | ||
* Hidden fields may arise when using the "Conditional Fields for Contact Form 7" plugin. | ||
* | ||
* | ||
* @link https://wordpress.org/plugins/cf7-conditional-fields/ | ||
* @link https://github.com/pronamic/wp-pronamic-pay-contact-form-7/commit/83122efa3755f1d4b667aed3e3e7c2ae0f813faa | ||
* @return string[] | ||
|
@@ -137,7 +137,7 @@ private function get_hidden_fields() { | |
|
||
/** | ||
* Get values by tag. | ||
* | ||
* | ||
* @param WPCF7_FormTag $tag Tag. | ||
* @return array<string> | ||
*/ | ||
|
@@ -184,7 +184,7 @@ public function get_values_by_tag( $tag ) { | |
|
||
/** | ||
* Get value by tag. | ||
* | ||
* | ||
* @param WPCF7_FormTag $tag Tag. | ||
* @return string | ||
*/ | ||
|
@@ -196,7 +196,7 @@ public function get_value_by_tag( $tag ) { | |
|
||
/** | ||
* Get value by tags. | ||
* | ||
* | ||
* @param WPCF7_FormTag[] $tags Tags. | ||
* @return string | ||
*/ | ||
|
@@ -212,7 +212,7 @@ private function get_value_by_tags( $tags ) { | |
|
||
/** | ||
* Get value by tag name or option. | ||
* | ||
* | ||
* @param string $value Name or option value. | ||
* @return string | ||
*/ | ||
|
@@ -228,7 +228,7 @@ public function get_value_by_tag_name_or_option( $value ) { | |
|
||
/** | ||
* Get value by tag basetype, name or option. | ||
* | ||
* | ||
* @param string $value Value. | ||
* @return string | ||
*/ | ||
|
@@ -248,7 +248,7 @@ public function get_value_by_tag_basetype_or_name_or_option( $value ) { | |
|
||
/** | ||
* Get value by tag name, option or basetype. | ||
* | ||
* | ||
* @param string $value Name or option value. | ||
* @param string $basetype Basetype. | ||
* @return string | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Amount form tag. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Issuer form tag. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Payment method form tag. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay | ||
*/ | ||
|
@@ -202,7 +202,7 @@ public function add_tag_generator() { | |
*/ | ||
public function tag_generator( // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed -- Parameter is used in include. | ||
$form, | ||
$args | ||
$args | ||
) { | ||
require __DIR__ . '/../../views/payment-method-tag-generator.php'; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Bootstrap tests | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\ContactForm7 | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,19 +3,19 @@ | |
* Plugin Name: wp-env mail | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\ContactForm7 | ||
*/ | ||
|
||
/** | ||
* Short-circuit mail. | ||
* | ||
* | ||
* @link https://github.com/WordPress/wordpress-develop/blob/2f8f1fc795789530db31bdf020e1d96acf02a760/src/wp-includes/pluggable.php#L194-L214 | ||
*/ | ||
add_filter( | ||
'pre_wp_mail', | ||
function () { | ||
return true; | ||
} | ||
} | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Issuer tag generator. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\ContactForm7 | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Payment method tag generator. | ||
* | ||
* @author Pronamic <[email protected]> | ||
* @copyright 2005-2023 Pronamic | ||
* @copyright 2005-2024 Pronamic | ||
* @license GPL-3.0-or-later | ||
* @package Pronamic\WordPress\Pay\Extensions\ContactForm7 | ||
*/ | ||
|