LLMS_Admin_Builder::modify_take_over_link( string $link, int $post_id, string $context )

Modify the “Take Over” link on the post locked modal to send users to the builder when taking over a course

Parameters Parameters


(string) (Required) Default post edit link.


(int) (Required) WP Post ID of the course.


(string) (Required) Display context.

Top ↑

Return Return


Top ↑

Source Source

File: includes/admin/class.llms.admin.builder.php

	public static function modify_take_over_link( $link, $post_id, $context ) {

		return add_query_arg(
				'page'      => 'llms-course-builder',
				'course_id' => $post_id,
			admin_url( 'admin.php' )


Top ↑

Changelog Changelog

Version Description
3.13.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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