Noptin_New_Post_Notify::show_help_text( $campaign, $automation_type )
Filters default automation data.
Parameters Parameters
- $data
(array) (Required) The automation data.
Source Source
File: includes/class-noptin-new-post-notify.php
public function show_help_text( $campaign, $automation_type ) { if ( 'post_notifications' === $automation_type ) { $url = add_query_arg( array( 'utm_medium' => 'plugin-dashboard', 'utm_campaign' => 'new-post-notifications', 'utm_source' => esc_url( get_home_url() ), ), 'https://noptin.com/guide/email-automations/new-post-notifications/' ); $help_text = sprintf( __( 'Learn more about %show to set up new post notifications%s.', 'newsletter-optin-box' ), "<a href='$url'>", '</a>' ); echo "<p class='description'>$help_text</p>"; echo '<input type="hidden" name="noptin_is_new_post_notification" value="1" />'; } }
Expand full source code Collapse full source code View on GitHub