List of MailPoet’s hooks
-
I did a search on the plugin’s file and cleaned it somewhat (it uses a custom method
applyFilters()
.
I’m posting here for future reference and in case someone is curious about the plugin’s possibilities.add_filter('language_attributes', implode(' ', $languageAttributes) add_filter('mailpoet_api_newsletters_get_after', $response); add_filter('mailpoet_api_newsletters_get_after', $response); add_filter('mailpoet_api_newsletters_listing_item', $newsletterData); add_filter('mailpoet_api_newsletters_save_after', $response); add_filter('mailpoet_api_newsletters_save_before', $data); add_filter('mailpoet_archive_date', $newsletter) . add_filter('mailpoet_archive_no_newsletters', 'Oops! There are no newsletters to display.' add_filter('mailpoet_archive_subject', $newsletter, $subscriber, $queue) . add_filter('mailpoet_archive_title', ''); add_filter('mailpoet_conflict_resolver_whitelist_script', $_this->permittedAssetsLocations['scripts']); add_filter('mailpoet_conflict_resolver_whitelist_style', $_this->permittedAssetsLocations['styles']); add_filter('mailpoet_cron_enable_self_deactivation', false); add_filter('mailpoet_cron_get_execution_limit', self::DAEMON_EXECUTION_LIMIT); add_filter('mailpoet_cron_get_execution_timeout', $timeout); add_filter('mailpoet_cron_request_args', [ add_filter('mailpoet_cron_request_url', $url); add_filter('mailpoet_cron_trigger_wordpress_run_interval', self::RUN_INTERVAL); add_filter('mailpoet_cron_worker_sending_queue_batch_size', self::BATCH_SIZE); add_filter('mailpoet_display_custom_fonts', true); add_filter('mailpoet_first_purchase_order_states', ['completed', 'processing']); add_filter('mailpoet_first_purchase_order_states', ['completed', 'processing']); add_filter('mailpoet_first_purchase_order_states', ['completed', 'processing']); add_filter('mailpoet_form_widget_post_process', $output); add_filter('mailpoet_mailer_smtp_connection_timeout', self::SMTP_CONNECTION_TIMEOUT); add_filter('mailpoet_mailer_smtp_transport_agent', $transport); add_filter('mailpoet_manage_subscription_page', $renderForm($subscriber, $formStatus) add_filter('mailpoet_manage_subscription_page_form_fields', $form); add_filter('mailpoet_newsletter_post_excerpt_length', $this->maxExcerptLength); add_filter('mailpoet_newsletter_shortcode', $shortcode, add_filter('mailpoet_newsletter_shortcode_link', $shortcode, add_filter('mailpoet_newsletter_shortcode_link', $shortcode, add_filter('mailpoet_permission_access_plugin_admin', [ 'administrator', 'editor', ] ), add_filter('mailpoet_permission_manage_settings', [ 'administrator', ] ), add_filter('mailpoet_permission_manage_features', [ 'administrator', ] ), add_filter('mailpoet_permission_manage_emails', [ 'administrator', 'editor', ] ), add_filter('mailpoet_permission_manage_subscribers', [ 'administrator', ] ), add_filter('mailpoet_permission_manage_forms', [ 'administrator', ] ), add_filter('mailpoet_permission_manage_segments', [ 'administrator', ] ), add_filter('mailpoet_purchase_order_states', ['processing', 'completed'] add_filter('mailpoet_search_terms_args', $args); add_filter('mailpoet_sending_newsletter_render_after', $renderedNewsletter, add_filter('mailpoet_sending_newsletter_render_after', $renderedNewsletter, add_filter('mailpoet_skip_welcome_wizard', false); add_filter('mailpoet_skip_woocommerce_import_page', false)) { add_filter('mailpoet_subscription_captcha_exclude_roles', ['administrator', 'editor']); add_filter('mailpoet_subscription_captcha_recipient_limit', 1); add_filter('mailpoet_subscription_captcha_window', MONTH_IN_SECONDS); add_filter('mailpoet_subscription_limit_base', MINUTE_IN_SECONDS); add_filter('mailpoet_subscription_limit_enabled', true); add_filter('mailpoet_subscription_limit_window', DAY_IN_SECONDS); add_filter('mailpoet_subscription_purge_window', MONTH_IN_SECONDS); add_filter('mailpoet_template_cache_enabled', !WP_DEBUG); add_filter('mailpoet_template_cache_path', self::$tempPath . '/cache'); add_filter('mailpoet_unsubscribe_confirmation_enabled', true); add_filter('mailpoet_unsubscribe_confirmation_page', $render('subscription/confirm_unsubscribe.html', $templateDaa), add_filter('mailpoet_woocommerce_checkout_optin_template', $getSubscriptionField add_filter('plugin_locale', WPFunctions::get()->getUserLocale(), add_action('mailpoet_api_newsletters_delete_after', $ids); add_action('mailpoet_api_newsletters_delete_after', [$newsletter->getId()]); add_action('mailpoet_api_newsletters_delete_before', $ids); add_action('mailpoet_api_newsletters_delete_before', [$newsletter->getId()]); add_action('mailpoet_api_newsletters_duplicate_after', $newsletter, $duplicate); add_action('mailpoet_api_setup', [$this]); add_action('mailpoet_conflict_resolver_router_url_query_parameters'); add_action('mailpoet_conflict_resolver_scripts'); add_action('mailpoet_conflict_resolver_styles'); add_action('mailpoet_initialized', MAILPOET_VERSION); add_action('mailpoet_setup_reset');
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘List of MailPoet’s hooks’ is closed to new replies.