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_wrapper_id

Change the block ID attribute to output on wrapper.

This filter allows you to change or modify the wrapper CSS ID for the block output. This is typically output when a user has selected to use an anchor to link directly to the block.

Location: php/Blocks.php

/**
 * Filter: quotes_dlx_block_wrapper_id
 *
 * Change the block ID attribute to output on wrapper.
 *
 * @since 1.0.0
 *
 * @param string Anchor text, or empty if none.
 */
$block_id         = $has_anchor ? $anchor : '';
$block_wrapper_id = apply_filters(
	'quotes_dlx_block_wrapper_id',
	$block_id
);
Previousquotes_dlx_block_wrapper_classesNextquotes_dlx_block_max_width

Last updated 2 years ago

Was this helpful?