*/ private function get_pro_features() { return array( array( 'title' => __( 'Codex Chat in the Editor', 'advanced-animation' ), 'description' => __( 'Run a Codex agent inside the block editor and Elementor with a subscription that costs less than bring-your-own API keys.', 'advanced-animation' ), 'icon' => 'dashicons-format-chat', ), array( 'title' => __( 'Editor Screenshot Capture', 'advanced-animation' ), 'description' => __( 'Capture the editor for looping agent tasks — like turning a screenshot or image into a full website layout.', 'advanced-animation' ), 'icon' => 'dashicons-camera', ), array( 'title' => __( 'MCP for Your AI Tools', 'advanced-animation' ), 'description' => __( 'Connect Codex, Claude, Cursor, OpenCode, and other MCP clients to work with your WordPress site.', 'advanced-animation' ), 'icon' => 'dashicons-networking', ), array( 'title' => __( 'Figma Conversion', 'advanced-animation' ), 'description' => __( 'Convert Figma designs into editable WordPress layouts in Gutenberg and Elementor.', 'advanced-animation' ), 'icon' => 'dashicons-art', ), array( 'title' => __( 'Tailwind HTML Conversion', 'advanced-animation' ), 'description' => __( 'Paste Tailwind HTML and convert it directly into WordPress blocks or Elementor widgets.', 'advanced-animation' ), 'icon' => 'dashicons-editor-code', ), array( 'title' => __( 'Unlimited Companion Tools', 'advanced-animation' ), 'description' => __( 'Pro unlocks unlimited use of our HTML and Figma conversion Chrome extensions and Figma plugin.', 'advanced-animation' ), 'icon' => 'dashicons-admin-plugins', ), ); } /** * Companion tools included with Pro (unlimited usage). * * @return array */ private function get_pro_tools() { return array( array( 'title' => __( 'HTML to Tailwind', 'advanced-animation' ), 'description' => __( 'Chrome extension — convert any page HTML into Tailwind classes.', 'advanced-animation' ), 'url' => 'https://chromewebstore.google.com/detail/html-to-tailwind/kchdoeihmmgkghnhgpnbpocnnlpfehef', ), array( 'title' => __( 'HTML to WordPress', 'advanced-animation' ), 'description' => __( 'Chrome extension — turn HTML into WordPress blocks you can paste into the editor.', 'advanced-animation' ), 'url' => 'https://chromewebstore.google.com/detail/html-to-wordpress/fenjbbcgglfkokgjimkbbpghhmampcpi', ), array( 'title' => __( 'HTML to Elementor', 'advanced-animation' ), 'description' => __( 'Chrome extension — convert HTML into Elementor-ready structures.', 'advanced-animation' ), 'url' => 'https://chromewebstore.google.com/detail/html-to-elementor/bammnammeldigbbkooilpcmigfejfhko', ), array( 'title' => __( 'Figma to Elementor', 'advanced-animation' ), 'description' => __( 'Figma community plugin — export designs straight into Elementor.', 'advanced-animation' ), 'url' => 'https://www.figma.com/community/plugin/1289146550601337525/figma-to-elementor', ), ); } public function render_page() { if ( ! current_user_can( 'manage_options' ) ) { return; } $pro_url = apply_filters( 'wpaddons_pro_url', self::PRO_URL ); $video_id = sanitize_text_field( apply_filters( 'wpaddons_promo_youtube_id', self::YOUTUBE_VIDEO_ID ) ); $features = $this->get_pro_features(); $tools = $this->get_pro_tools(); ?>