\Jomres_Public

The Jomres public-facing functionality.

Defines the plugin name, version.

Summary

Methods
Properties
Constants
__construct()
frontend_trigger_jomres()
asamodule_search_results()
disable_all_widgets()
set_jomres_meta_title()
jomres_fullscreen_view()
payments_redirect_canonical()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$plugin_name
$version
N/A

Properties

$plugin_name

$plugin_name : string

The ID of this plugin.

Type

string — The ID of this plugin.

$version

$version : string

The version of this plugin.

Type

string — The current version of this plugin.

Methods

__construct()

__construct(string  $plugin_name, string  $version) 

Initialize the class and set its properties.

Parameters

string $plugin_name

The name of the plugin.

string $version

The version of this plugin.

frontend_trigger_jomres()

frontend_trigger_jomres() 

Trigger Jomres frontend.

asamodule_search_results()

asamodule_search_results(  $content) 

Wraps Jomres output in the asamodule_search_results div.

Parameters

$content

disable_all_widgets()

disable_all_widgets(  $sidebars_widgets) 

Disables all widgets.

Parameters

$sidebars_widgets

set_jomres_meta_title()

set_jomres_meta_title(  $title,   $id = null) 

Sets Jomres pages meta title.

Parameters

$title
$id

jomres_fullscreen_view()

jomres_fullscreen_view(  $template) 

Sets Jomres pages meta title.

Parameters

$template

payments_redirect_canonical()

payments_redirect_canonical(  $redirect_url,   $requested_url) 

Prevents redirects to permalink urls.

Parameters

$redirect_url
$requested_url