LLMS_Admin_Post_Table_Engagements::add_columns( array $columns )

Add Custom Coupon Columns


Parameters Parameters

$columns

(array) (Required) array of default columns


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/admin/post-types/post-tables/class.llms.admin.post.table.engagements.php

	public function add_columns( $columns ) {

		$date = $columns['date'];
		unset( $columns['date'] );

		$columns['trigger'] = __( 'Trigger', 'lifterlms' );
		$columns['type']    = __( 'Type', 'lifterlms' );
		$columns['delay']   = __( 'Delay', 'lifterlms' );

		$columns['date'] = $date;

		return $columns;

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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