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( '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' ),
|
||||
|
||||
Reference in New Issue
Block a user