forgot to call function

This commit is contained in:
2026-02-01 14:22:03 +01:00
parent 82a82aa05e
commit 648dc735a0
2 changed files with 4 additions and 3 deletions

View File

@@ -171,9 +171,10 @@ class Partnerexpo_Core {
$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( 'init', $this, 'define_cpts' );
$this->loader->add_action( 'init', $this, 'define_taxonomies' );
}
function define_taxonomy() {
function define_taxonomies() {
$labels = [
'name' => 'pexpo_tags',
'singular_name' => __( 'Partner címke', 'partnerexpo-core' ),

View File

@@ -9,7 +9,7 @@
* Plugin Name: PartnerExpo Core
* Plugin URI: https://partnerexpo.eu
* Description: A PartnerEXPO oldal belső pluginja
* Version: 1.0.6
* Version: 1.0.7
* Author: Juhász Levente
* Author URI: https://github.com/Duskell/
* License: GPL-2.0+
@@ -23,7 +23,7 @@ if ( ! defined( 'WPINC' ) ) {
die;
}
define( 'PARTNEREXPO_CORE_VERSION', '1.0.6' );
define( 'PARTNEREXPO_CORE_VERSION', '1.0.7' );
function activate_partnerexpo_core() {
require_once plugin_dir_path( __FILE__ ) . 'includes/class-partnerexpo-core-activator.php';