fourth-wall-embed-wp/fw-store-embed.php
Josh Knapp 64afcb71cb
All checks were successful
Create Release / build (push) Successful in 5s
Refactor plugin with improved architecture and new features
- Eliminated code duplication by creating common HTTP request function
- Added configurable SSL verification setting for development/production
- Implemented smart caching system with 1-hour cache duration
- Enhanced admin interface with cache management and better styling
- Improved error handling and user experience
- Added comprehensive documentation and troubleshooting guide
- Updated README with new features and configuration options
2025-06-24 11:21:04 -07:00

21 lines
631 B
PHP

<?php
/**
* Plugin Name: Fourthwall Store Embed
* Plugin URL: https://darksideofperfection.com/
* Description: Embed Fourthwall Store in WordPress
* Version: {auto_update_value_on_deploy}
* Author: Joshua Knapp
* Text Domain: fourthwall_text_domain
*
*/
include("libs/self-update.php");
include("libs/settings.php");
include("libs/shortcode.php");
function set_fw_store_embed_css() {
wp_enqueue_style('fw-embed-style', plugin_dir_url( __FILE__ ). 'css/fw-store-embed.css', array(),null);
}
add_action( 'wp_enqueue_scripts', 'set_fw_store_embed_css' );
add_action( 'admin_enqueue_scripts', 'set_fw_store_embed_css' );