get_instance() get_instance() : \plugin Gets a singleton of this plugin Retrieves or creates the plugin singleton. Returns \plugin — singleton
get_options() get_options() : array A helper function to return the redactor_options for classes to use. Returns array — redactor options
sanitizeWithDefaults() sanitizeWithDefaults( $options) : array Sanitizes user input when parsing option uploads based on defaults and option types. Parameters $options Returns array — Sanitized options
create_admin_page() create_admin_page() : void Options page callback. Echos the rendering of the options page.
add_plugin_options_page() add_plugin_options_page() : void Registers the options page with the Wordpress settings menu.
render_redact_comments() render_redact_comments() Prints the HTML string to render the comment options