/**
 * Begins execution of the plugin.
 *
 * Since everything within the plugin is registered via hooks,
 * then kicking off the plugin from this point in the file does
 * not affect the page life cycle.
 */
function run_hre_exporter()
{
    $plugin = new Exporter();
    $plugin->run();
}
コード例 #2
0
 /**
  * Load the plugin text domain for translation.
  *
  * @since    1.0.0
  */
 public function load_plugin_textdomain()
 {
     load_plugin_textdomain($this->domain, false, Exporter::relativePath('/languages/'));
 }
コード例 #3
0
 public function render()
 {
     include_once Exporter::absolutePath('/admin/partials/hre-exporter-admin-display.php');
 }