forgot to call register function

This commit is contained in:
2026-02-01 12:54:54 +01:00
parent 453b8d70cd
commit e5419f9495
3 changed files with 33 additions and 31 deletions

View File

@@ -169,6 +169,7 @@ class Partnerexpo_Core {
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_styles' );
$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' );
}