forgot to call function
This commit is contained in:
@@ -171,9 +171,10 @@ class Partnerexpo_Core {
|
|||||||
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
|
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
|
||||||
$this->loader->add_action( 'rest_api_init', $plugin_public, 'register_endpoint' );
|
$this->loader->add_action( 'rest_api_init', $plugin_public, 'register_endpoint' );
|
||||||
$this->loader->add_action( 'init', $this, 'define_cpts' );
|
$this->loader->add_action( 'init', $this, 'define_cpts' );
|
||||||
|
$this->loader->add_action( 'init', $this, 'define_taxonomies' );
|
||||||
}
|
}
|
||||||
|
|
||||||
function define_taxonomy() {
|
function define_taxonomies() {
|
||||||
$labels = [
|
$labels = [
|
||||||
'name' => 'pexpo_tags',
|
'name' => 'pexpo_tags',
|
||||||
'singular_name' => __( 'Partner címke', 'partnerexpo-core' ),
|
'singular_name' => __( 'Partner címke', 'partnerexpo-core' ),
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
* Plugin Name: PartnerExpo Core
|
* Plugin Name: PartnerExpo Core
|
||||||
* Plugin URI: https://partnerexpo.eu
|
* Plugin URI: https://partnerexpo.eu
|
||||||
* Description: A PartnerEXPO oldal belső pluginja
|
* Description: A PartnerEXPO oldal belső pluginja
|
||||||
* Version: 1.0.6
|
* Version: 1.0.7
|
||||||
* Author: Juhász Levente
|
* Author: Juhász Levente
|
||||||
* Author URI: https://github.com/Duskell/
|
* Author URI: https://github.com/Duskell/
|
||||||
* License: GPL-2.0+
|
* License: GPL-2.0+
|
||||||
@@ -23,7 +23,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
|
|
||||||
define( 'PARTNEREXPO_CORE_VERSION', '1.0.6' );
|
define( 'PARTNEREXPO_CORE_VERSION', '1.0.7' );
|
||||||
|
|
||||||
function activate_partnerexpo_core() {
|
function activate_partnerexpo_core() {
|
||||||
require_once plugin_dir_path( __FILE__ ) . 'includes/class-partnerexpo-core-activator.php';
|
require_once plugin_dir_path( __FILE__ ) . 'includes/class-partnerexpo-core-activator.php';
|
||||||
|
|||||||
Reference in New Issue
Block a user