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_block_attributes

Override attributes (useful for overriding defaults or output).

This filter is used to filter the block attributes passed to the block output.

Location: php/Blocks.php

/**
 * Filter: quotes_dlx_block_attributes
 *
 * Override attributes (useful for overriding defaults or output).
 *
 * @since 1.0.0
 *
 * @param array  $attributes Pre-sanitized attributes.
 * @param string $content    Block content.
 *
 * @return array Block attributes and values.
 */
$attributes = apply_filters( 'quotes_dlx_block_attributes', $attributes, $content );
Previousquotes_dlx_plugin_preview_modal_scriptsNextquotes_dlx_block_output

Last updated 2 years ago

Was this helpful?