learndash_show_course_builder_row_actions

apply_filters( 'learndash_show_course_builder_row_actions',  boolean $show_row_actions,  WP_Post|null $course_post )

Filters whether to show course builder row actions or not.


Description #


Parameters #

$show_row_actions

(boolean) Whether to show row actions.

$course_post

(WP_Post|null) Course post object.


Source #

File: includes/admin/classes-posts-listings/class-learndash-admin-courses-listing.php


Examples #

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

		// Always return $show_row_actions.
		return $show_row_actions;
	},
	10,
	2
);