Browse: Home / Hooks /

learndash-course-infobar-action-cell-before

do_action( 'learndash-course-infobar-action-cell-before' )

Description #


Source #

File: themes/ld30/templates/modules/infobar/group.php


Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 <?php
/**
 * Example usage for learndash-course-infobar-action-cell-before action.
 */
add_action(
	'learndash-course-infobar-action-cell-before',
	function( $post_type, $course_id, $user_id ) {
		// May add any custom logic using $post_type, $course_id, $user_id

	},
	10,
	3
);