You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -324,5 +370,35 @@ public function openedx_settings_section_callback() {
324
370
'Configuring the necessary parameters here to establish the connection between this plugin and your Open edX platform. For more information, you can visit the how-to <a href="https://docs.openedx.org/projects/wordpress-ecommerce-plugin/en/latest/how-tos/create_an_openedx_app.html">Create an Open edX Application for the Plugin Settings</a> in the documentation.'
325
371
);
326
372
}
373
+
374
+
/**
375
+
* Output the enrollment force settings field.
376
+
*
377
+
* Retrieves the saved enrollment force value and outputs a checkbox input field and description text.
<label for="openedx-enrollment-force"><?phpesc_html_e('Use the "force" flag. Disregard the course\'s enrollment end dates.', 'openedx-commerce'); ?></label>
386
+
<?php
387
+
}
388
+
389
+
/**
390
+
* Output the enrollment allowed settings field.
391
+
*
392
+
* Retrieves the saved enrollment allowed value and outputs a checkbox input field and description text.
<label for="openedx-enrollment-allowed"><?phpesc_html_e('Create course enrollment allowed if the user doesn\'t exist in the Open edX platform.', 'openedx-commerce'); ?></label>
0 commit comments