Inventory_Presser_Shortcode_Sort_By::register_script()
Registers a JavaScript file required for the dropdown to operate.
Return
(void)
Source
File: includes/shortcode/class-shortcode-sort-by.php
public function register_script() { $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; wp_register_script( 'invp_sort_by', plugins_url( "/js/shortcode-sort-by$min.js", INVP_PLUGIN_FILE_PATH ), array(), null, true ); }
Expand full source code Collapse full source code View on Github