← All changes
|
includes/integrations/contactform7/class-convertkit-contactform7-settings.php
+3
-3
2.2.8
→
3.4.4
View file →
| @@ -77,16 +77,16 @@ | ||
| 77 | 77 | |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | /** |
| 81 | - * Returns the ConvertKit Form ID that is mapped against the given Contact Form 7 Form ID. | |
| 81 | + * Returns the ConvertKit subscription setting for the given Contact Form 7 Form ID. | |
| 82 | 82 | * |
| 83 | 83 | * @since 1.9.6 |
| 84 | 84 | * |
| 85 | 85 | * @param int $cf7_form_id Contact Form 7 Form ID. |
| 86 | - * @return bool|int | |
| 86 | + * @return bool|string|int | |
| 87 | 87 | */ |
| 88 | - public function get_convertkit_form_id_by_cf7_form_id( $cf7_form_id ) { | |
| 88 | + public function get_convertkit_subscribe_setting_by_cf7_form_id( $cf7_form_id ) { | |
| 89 | 89 | |
| 90 | 90 | // Bail if no settings exist. |
| 91 | 91 | if ( ! $this->has_settings() ) { |
| 92 | 92 | return false; |