Inventory_Presser_Shortcode_Sort_By::hooks()

Adds hooks that power the shortcode

Contents


Return Return

(void)


Top ↑

Source Source

File: includes/shortcode/class-shortcode-sort-by.php

	public function hooks() {
		add_action( 'init', array( $this, 'add' ) );
		add_action( 'init', array( $this, 'change_sorter_based_on_price_display' ) );
		add_action( 'wp_enqueue_scripts', array( $this, 'register_script' ) );
	}