\Jomres_Activator

Fired during plugin activation.

This class defines all code necessary to run during the plugin's activation.

Summary

Methods
Properties
Constants
activate()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
maybe_install_or_update_jomres()
maybe_add_default_jomres_page()
No private properties found
N/A

Methods

activate()

activate() 

Performs Jomres installation/update.

Download Jomres, unzip files, move files to /jomres dir and execute the Jomres installer.

maybe_install_or_update_jomres()

maybe_install_or_update_jomres() 

Install or update Jomres.

This installs or updates Jomres on Jomres WP plugin activation.

maybe_add_default_jomres_page()

maybe_add_default_jomres_page() 

Creates the Jomres default Page.

Default Jomres Page includes the Jomres shortcode formatted like [jomres:xx-XX]. xx-XX is the language code, for example: en-GB.