LogoLogo
DLX PluginsQuotesDLXMediaRon LLC
Quotes-DLX
Quotes-DLX
  • Welcome to QuotesDLX
  • Getting Started
    • Installing the Plugin
    • Finding the Plugin Settings
    • Finding the QuotesDLX Block
    • Shortcode Parameters
    • Available Themes
  • QuotesDLX Block
    • Inserting the Block
    • Block Overview
    • Block Tabs
    • The Block Toolbar
      • Switching Themes
      • Preview Mode
      • Formatting Options
    • Sidebar Options
    • Adding Citations
  • Admin Settings
    • The Home Screen
    • Setting Block Defaults
    • Setting Contextual Menu Defaults
    • Setting a Default Theme
    • Theme Options
    • Setting a License
      • Opting into Betas
    • Advanced Options
    • Support and Docs
  • Themes
    • Themes Overview
    • Creating Your Own Theme Plugin
    • Creating Your Theme Stylesheet
  • Developers
    • 🍷Changelog
    • Actions
      • quotes_dlx_before_modal_scripts
      • quotes_dlx_after_modal_scripts
      • quotes_dlx_core_license_{action}
    • Filters
      • quotes_dlx_plugin_preview_modal_styles
      • quotes_dlx_plugin_preview_modal_scripts
      • quotes_dlx_block_attributes
      • quotes_dlx_block_output
      • quotes_dlx_block_template
      • quotes_dlx_block_wrapper_classes
      • quotes_dlx_block_wrapper_id
      • quotes_dlx_block_max_width
      • quotes_dlx_load_fonts
      • quotes_dlx_block_defaults
      • quotes_dlx_can_preload_fonts
      • quotes_dlx_fonts_to_preload
      • quotes_dlx_preload_font_urls
  • Support
    • Changelog
    • Code Access
    • Included Support
    • Paid Support
    • Feature Requests
    • Report a Bug
  • Quick Links
    • Get Support
    • Changelog
    • Buy QuotesDLX
    • Brand Assets
    • MediaRon Home
    • Contact Form
Powered by GitBook
On this page

Was this helpful?

  1. Developers
  2. Filters

quotes_dlx_plugin_preview_modal_styles

Filter the styles print arguments in the preview modal.

In the modal, you can filter the styles added so you can include your own.

Location: php/Ajax.php

/**
 * Filter the styles print arguments.
 *
 * Add more handles to print.
 *
 * @since 1.0.0
 */
$modal_styles = apply_filters(
	'quotes_dlx_plugin_preview_modal_styles',
	array(
		'qdlx_theme_css',
		'qdlx_twitter_preview_css',
		'qdlx_font_css',
		'qdlx_frontend_css',
		'qdlx_primary_font_css',
		'qdlx_secondary_font_css',
	)
);
PreviousFiltersNextquotes_dlx_plugin_preview_modal_scripts

Last updated 2 years ago

Was this helpful?