esc_url( plugins_url( '/images/affiliate_toolkit_menu.png', ATKP_PLUGIN_FILE ) ), 'insertShortcode' => esc_html__( 'AT shortcode', 'affiliate-toolkit-starter' ), 'supportedBlocks' => $supportedblocks, 'generatorUrl' => esc_url( admin_url( 'admin.php?page=' . ATKP_PLUGIN_PREFIX . '_affiliate_toolkit-shortcodegenerator' ) ), ) ); wp_localize_script( 'shortcodes-atkp-block-editor', 'ATKPBlockEditorSettings', array( 'supportedBlocks' => get_option( 'atkp_option_supported_blocks', array() ) ) ); } }