learndash_shortcodes_content_args

apply_filters( 'learndash_shortcodes_content_args',  array $shortcode_content )

Filters TinyMCE shortcode content arguments.


Description #


Parameters #

$shortcode_content

(array) The shortcode content arguments.


Source #

File: includes/settings/class-ld-shortcodes-tinymce.php


Examples #

 <?php
/**
 * Example usage for learndash_shortcodes_content_args filter.
 */
add_filter(
	'learndash_shortcodes_content_args',
	function( $shortcode_content ) {
		// May add any custom logic using $shortcode_content.

		// Always return $shortcode_content.
		return $shortcode_content;
	}
);