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
- $link
-
(string) (Required) Default post edit link.
- $post_id
-
(int) (Required) WP Post ID of the course.
- $context
-
(string) (Required) Display context.
Return Return
(string)
Source Source
File: includes/admin/class.llms.admin.builder.php
530 531 532 533 534 535 536 537 538 539 540 | public static function modify_take_over_link( $link , $post_id , $context ) { return add_query_arg( array ( 'page' => 'llms-course-builder' , 'course_id' => $post_id , ), admin_url( 'admin.php' ) ); } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.13.0 | Introduced. |