Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
PUM_Triggers::get_tabs()

Returns an array of section labels for all triggers.


Description Description

Use the filter pum_get_trigger_section_labels to add or modify labels.


Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808

Return Return

(array)


Top ↑

Source Source

File: classes/Triggers.php

	public function get_tabs() {
		/**
		 * Filter the array of trigger section labels.
		 *
		 * @param array $to_do The list of trigger section labels.
		 */
		return apply_filters(
			'pum_get_trigger_tabs',
			array(
				'general'  => __( 'General', 'popup-maker' ),
				'cookie'   => __( 'Cookie', 'popup-maker' ),
				'advanced' => __( 'Advanced', 'popup-maker' ),
			)
		);
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.