Add store selection to API permissions
- Add store_id and store_name columns to wp_dutchie_api_permissions - Backend: Add /stores endpoint, require store_id when creating permissions - Frontend: Add store selector dropdown to API Permissions form - WordPress plugin v1.3.0: Remove store_id from shortcodes (store is tied to token) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* Plugin Name: Dutchie Menus
|
||||
* Plugin URI: https://creationshop.io
|
||||
* Description: Display cannabis product menus from your Dutchie scraper with Elementor integration
|
||||
* Version: 1.2.0
|
||||
* Version: 1.3.0
|
||||
* Author: Creationshop
|
||||
* Author URI: https://creationshop.io
|
||||
* License: GPL v2 or later
|
||||
@@ -15,7 +15,7 @@ if (!defined('ABSPATH')) {
|
||||
exit; // Exit if accessed directly
|
||||
}
|
||||
|
||||
define('DUTCHIE_MENUS_VERSION', '1.2.0');
|
||||
define('DUTCHIE_MENUS_VERSION', '1.3.0');
|
||||
define('DUTCHIE_MENUS_API_URL', 'https://dispos.crawlsy.com/api');
|
||||
define('DUTCHIE_MENUS_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
||||
define('DUTCHIE_MENUS_PLUGIN_URL', plugin_dir_url(__FILE__));
|
||||
@@ -177,7 +177,6 @@ class Dutchie_Menus_Plugin {
|
||||
*/
|
||||
public function products_shortcode($atts) {
|
||||
$atts = shortcode_atts([
|
||||
'store_id' => get_option('dutchie_default_store_id', 1),
|
||||
'category_id' => '',
|
||||
'limit' => 12,
|
||||
'columns' => 3,
|
||||
|
||||
Reference in New Issue
Block a user