src/admin/class-papi-admin-ajax.php
protected function setup_actions() {
		add_action( 'init', [$this, 'add_endpoint'] );
		add_action( 'parse_request', [$this, 'handle_papi_ajax'] );
		add_action( 'admin_enqueue_scripts', [$this, 'ajax_url'], 10 );

		// Ajax actions.
		add_action( $this->action_prefix . 'get_entry_type', [$this, 'get_entry_type'] );
		add_action( $this->action_prefix . 'get_property', [$this, 'get_property'] );
		add_action( $this->action_prefix . 'get_properties', [$this, 'get_properties'] );
		add_action( $this->action_prefix . 'get_rules_result', [$this, 'get_rules_result'] );
		add_action( $this->action_prefix . 'get_posts', [$this, 'get_posts'] );
		add_action( $this->action_prefix . 'get_terms', [$this, 'get_terms'] );
		add_action( $this->action_prefix . 'get_shortcode', [$this, 'get_shortcode'] );
	}
protected function setup_actions() {
		add_action( 'init', [$this, 'add_endpoint'] );
		add_action( 'parse_request', [$this, 'handle_papi_ajax'] );
		add_action( 'admin_enqueue_scripts', [$this, 'ajax_url'], 10 );

		// Ajax actions.
		add_action( $this->action_prefix . 'get_entry_type', [$this, 'get_entry_type'] );
		add_action( $this->action_prefix . 'get_property', [$this, 'get_property'] );
		add_action( $this->action_prefix . 'get_properties', [$this, 'get_properties'] );
		add_action( $this->action_prefix . 'get_rules_result', [$this, 'get_rules_result'] );
		add_action( $this->action_prefix . 'get_posts', [$this, 'get_posts'] );
		add_action( $this->action_prefix . 'get_terms', [$this, 'get_terms'] );
		add_action( $this->action_prefix . 'get_shortcode', [$this, 'get_shortcode'] );
	}
Setup action hooks.