The documentation for $m is available in the function that the pre_do_shortcode_tag filter gets called in, do_shortcode_tag():
/** * … * @param array $m { * Regular expression match array. * * @type string $0 Entire matched shortcode text. * @type string $1 Optional second opening bracket for escaping shortcodes. * @type string $2 Shortcode name. * @type string $3 Shortcode arguments list. * @type string $4 Optional self closing slash. * @type string $5 Content of a shortcode when it wraps some content. * @type string $6 Optional second closing bracket for escaping shortcodes. * }
Related Posts:
- What does extract( shortcode_atts( array( do?
- How do I escape a ‘]’ in a short code?
- Redirect function inside a Shortcode
- Remove wpautop from shortcode content / remove whitespace in buffering
- How to add multiple buttons to TinyMCE?
- Shortcode in shortcode: How to append variable?
- How can i put an array as variable in shortcode_atts?
- Table of Contents with a shortcode
- Allowing shortcodes inside attributes
- How to add ‘class’ attribute into shortcode [audio]?
- Make shortcode work with nested double quotes
- Using action hooks inside of a shortcode
- Finding where a shortcode comes from
- How to check if a shortcode is being executed in a widget or post
- Using shortcodes in PHP
- Remove width and height attributes from [gallery] output
- Is it possible not to define category on function.php and add the shortcode [shortcode cat=1] to display the products?
- Prevent add_shortcode from escaping a tag
- Shortcodes not working in an AJAX call
- Remove HTML content if attribute is not set / variable attributes
- Legacy Audio Shortcode
- Extending the Audio Shortcode
- How resource intensive is wp_register_script()?
- Convert shortcode into html form [closed]
- Numbering Image List in Gallery
- Enclosing Shortcode Within Another Enclosing Shortcode Breaks Output Functionality
- Register visits of my pages in wordpresss
- Is it possible to ignore the first Line Break in a preformatted Div from a shortcode?
- List monthy archives for specific year with wp_get_archives
- How can I included CSS to a page or a shortcode? [closed]
- Two Shortcodes in one page not working
- Shortcode not working on static front page
- Call Shortcode inside another Shortcodes callback
- Creating a shortcode in a plugin that includes JS
- Compatibility of MathJax extension and JetPack [closed]
- Shortcode to delete post from front end
- How to parse shortcodes within returned content
- Hook WP_Embed run_shortcode
- Get Required Assets (JS, CSS etc) for post using REST API
- shortcode in snippet plugin not work
- AJAX and Shortcode with Parameters
- Detecting embeded video format
- While loop shortcode problem
- How to prevent shortcode preview from breaking in tinymce editor?
- Execute Closing Shortcode After the_content
- Forcing max-width for image captions
- How to protect parts of my code from TinyMCE modification when switching from text to visual mode?
- How to change the output of gallery shortcode
- wp_list_pages shortcode jumps above previous content
- Shortcode attributes don’t appear?
- Shortcodes: closing shortcode not being processed
- Using $this from child class inside shortcode function
- Insert PHP code via shortcode?
- Div-Wrap with Functions.php in Childtheme using Shortcode!
- Trying to call dynamic content as a shortcode attribute
- shortcode issue in the_excerpt
- Using shortcodes to communicate my page design
- How to check if a post has any one of many shortcodes?
- enqueue script with get_shortcode_regex
- Use Contact Form 7 with Ajax
- Is it possible to add a shortcode’s content to a table?
- How to set a variable in a shortcode and reference it in another shortcode in the same post?
- How to get_post_meta in a shortcode in excerpt on archive pages
- WordPress upgrade adding additional quote marks to shortcode output
- Which file renders the “Edit Gallery” Settings page?
- using shortcodes in theme content
- How to: Simple Nested Shortcode [closed]
- Plugin renders in preview but shortcode shows when published
- How to process shortcode on post save and update only
- How to turn this HTML code into a shortcode? (adding song lyrics and giving an id to a div)
- ACF repeater + group shortcode
- Custom shortcode skips every 2nd shortcode
- Global $post returns 2 objects for my shortcode
- Gutenberg Shortcode Chooser Block
- How to cache a custom API call?
- Can Someone Help me to Correct my shortcode for displaying a category?
- Simulate shortcodes with javascript
- How to create custom variables in wordpress
- How to use Shortcode from one WordPress page in another WordPress page?
- WordPress 5.1 and Syntax highlighter, problem with HTML encoded special characters
- the_excerpt displaying code inside style tag
- Onclick want to call shortcode in wordpress
- Working with Contact Form 7 pipes
- How to disable cache for the content returned by a shortcode
- WordPress Server Time not changing/displaying correctly
- How can I extract or parse data from post contents’ shortcodes into an array?
- Can we create a shorcode to move next page?
- Do embed shortcode on wordpress ajax request
- launch a shortcode from a link
- Trying to echo out custom field inside shortcode?
- short code output too early
- short code output too early
- About redundant code when I use shortcode to output the HTML from a variable
- How i make a shortcode from this code
- Shortcode content is empty [closed]
- filter custom field with checkboxes and show it with one shortcode
- Shortcode to show author role on the author archive page
- How to add button to WYSIWYG to insert shortcode with params (filled in system popup)?
- Global variable not showing in shortcode
- Disable / hide example preview using elementor editor on page with shortcode