quotes_dlx_before_modal_scripts

Action to run before printing modal scripts/styles.

In the preview modal, you can perform a custom action before the modal scripts are output.

Location: php/Ajax.php

/**
 * Action to run before printing modal scripts/styles.
 *
 * @since 1.0.0
 *
 * @param string $template              The template name/slug.
 * @param string $primary_font_family   The primary font family slug.
 * @param string $secondary_font_family The secondary font family slug.
 */
do_action( 'quotes_dlx_before_modal_scripts', $template, $primary_font_family, $secondary_font_family );

Last updated