Fixes #7
This pull request introduces a new 'urlonly' target option for LTI shortcodes within the wordpress-lti-platform. This option allows users to generate only the URL without embedding or linking directly, facilitating easier integration with custom UI components.
Changes:
class-lti-platform-tool.php: Extended the shortcode handler to include 'urlonly' as a target option. This modification enables the shortcode to return just the URL when 'urlonly' is specified.
lti-platform-admin-edit.php: Updated the LTI Platform Settings menu in the admin panel to include 'urlonly' in the dropdown for presentation targets. This update allows administrators to easily select this new option from the platform settings.
class-lti-platform-admin.php: Updated the LTI Platform Settings menu in the admin panel to include 'urlonly' in the dropdown for presentation targets. This update allows administrators to easily select this new option from the platform settings.
public/class-lti-platform-public.php: Updated the LTI Platform Settings menu in the admin panel to include 'urlonly' in the dropdown for presentation targets. This update allows administrators to easily select this new option from the platform settings.
Motivation:
The addition of the 'urlonly' option enhances flexibility for developers and admins, allowing more streamlined integration of LTI tools within custom solutions not requiring embedded or directly linked content.
Testing:
Manual tests were conducted to ensure that selecting 'urlonly' correctly outputs only the URL.
Verified that existing functionality for other target options remains unaffected.
Please review the changes and merge them if they meet the project standards.
Fixes #7 This pull request introduces a new 'urlonly' target option for LTI shortcodes within the wordpress-lti-platform. This option allows users to generate only the URL without embedding or linking directly, facilitating easier integration with custom UI components.
Changes:
Motivation: The addition of the 'urlonly' option enhances flexibility for developers and admins, allowing more streamlined integration of LTI tools within custom solutions not requiring embedded or directly linked content.
Testing:
Please review the changes and merge them if they meet the project standards.