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' ),