learndash_shortcodes_popup_type

apply_filters( 'learndash_shortcodes_popup_type',  string $popup_type )

Filters TinyMCE shortcode popup type.


Description #


Parameters #

$popup_type

(string) Type of the popup for TinyMCE.


Source #

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


Examples #

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

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