Property | Type | Description | |
---|---|---|---|
$form | MC4WP_Form | ||
$form_element | MC4WP_Form_Element | ||
$tags | MC4WP_Dynamic_Content_Tags |
Method | Description | |
---|---|---|
__construct ( ) | Constructor | |
add_hooks ( ) | ||
get ( ) : array | ||
get_cookie ( array $args = [] ) : string | Gets data variable from cookie. | |
get_data ( $args = [] ) : string | Gets data value from GET or POST variables. | |
get_email ( ) : string | ||
get_form_response ( ) : string | Returns the form response | |
get_post_property ( $args = [] ) | * Get property of viewed post | |
get_subscriber_count ( ) : integer | Returns the number of subscribers on the selected lists (for the form context) | |
get_user_property ( $args = [] ) | * Get property of currently logged-in user | |
register ( array $tags ) : array | ||
replace ( string $string, MC4WP_Form $form, MC4WP_Form_Element $element = null ) : string | Replaces the registered tags in the given string | |
replace_in_url ( $string, MC4WP_Form $form ) : string |
public get_cookie ( array $args = [] ) : string | ||
$args | array | |
return | string |
public get_form_response ( ) : string | ||
return | string |
public get_post_property ( $args = [] ) | ||
$args |
public get_subscriber_count ( ) : integer | ||
return | integer |
public get_user_property ( $args = [] ) | ||
$args |
public replace_in_url ( $string, MC4WP_Form $form ) : string | ||
$string | ||
$form | MC4WP_Form | |
return | string |
protected MC4WP_Form_Element $form_element | ||
return | MC4WP_Form_Element |