{"id":1780,"date":"2026-04-15T01:00:05","date_gmt":"2026-04-14T18:00:05","guid":{"rendered":"https:\/\/doaction.co.th\/?p=1780"},"modified":"2026-04-27T01:43:38","modified_gmt":"2026-04-26T18:43:38","slug":"wordpress-7-0-built-in-ai-developers","status":"publish","type":"post","link":"https:\/\/doaction.co.th\/en\/wordpress-7-0-built-in-ai-developers\/","title":{"rendered":"WordPress 7.0 Now Has Built-In AI \u2014 What Developers Need to Know"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">WordPress 7.0 \u0e40\u0e1b\u0e34\u0e14\u0e15\u0e31\u0e27\u0e1f\u0e35\u0e40\u0e08\u0e2d\u0e23\u0e4c\u0e17\u0e35\u0e48\u0e19\u0e48\u0e32\u0e15\u0e37\u0e48\u0e19\u0e40\u0e15\u0e49\u0e19\u0e17\u0e35\u0e48\u0e2a\u0e38\u0e14\u0e43\u0e19\u0e23\u0e2d\u0e1a\u0e2b\u0e25\u0e32\u0e22\u0e1b\u0e35 \u0e19\u0e31\u0e48\u0e19\u0e04\u0e37\u0e2d\u0e01\u0e32\u0e23\u0e23\u0e27\u0e21 <strong>AI Client<\/strong> \u0e40\u0e02\u0e49\u0e32\u0e21\u0e32\u0e40\u0e1b\u0e47\u0e19\u0e2a\u0e48\u0e27\u0e19\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e02\u0e2d\u0e07 Core \u0e42\u0e14\u0e22\u0e15\u0e23\u0e07 \u0e44\u0e21\u0e48\u0e43\u0e0a\u0e48\u0e41\u0e04\u0e48 Plugin \u0e40\u0e2a\u0e23\u0e34\u0e21\u0e2d\u0e35\u0e01\u0e15\u0e48\u0e2d\u0e44\u0e1b<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e17\u0e35\u0e48\u0e1c\u0e48\u0e32\u0e19\u0e21\u0e32 \u0e16\u0e49\u0e32\u0e2d\u0e22\u0e32\u0e01\u0e40\u0e1e\u0e34\u0e48\u0e21 AI Feature \u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b\u0e43\u0e19 Plugin \u0e15\u0e49\u0e2d\u0e07\u0e17\u0e33\u0e17\u0e38\u0e01\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e40\u0e2d\u0e07 \u0e15\u0e31\u0e49\u0e07\u0e41\u0e15\u0e48\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d API \u0e02\u0e2d\u0e07\u0e41\u0e15\u0e48\u0e25\u0e30\u0e40\u0e08\u0e49\u0e32 \u0e08\u0e31\u0e14\u0e01\u0e32\u0e23 API Key \u0e02\u0e2d\u0e07\u0e25\u0e39\u0e01\u0e04\u0e49\u0e32 \u0e44\u0e1b\u0e08\u0e19\u0e16\u0e36\u0e07 Handle Error \u0e15\u0e48\u0e32\u0e07\u0e46 \u0e41\u0e15\u0e48\u0e25\u0e30 Plugin \u0e01\u0e47\u0e17\u0e33\u0e41\u0e1a\u0e1a\u0e02\u0e2d\u0e07\u0e15\u0e31\u0e27\u0e40\u0e2d\u0e07 \u0e44\u0e21\u0e48\u0e21\u0e35\u0e21\u0e32\u0e15\u0e23\u0e10\u0e32\u0e19\u0e01\u0e25\u0e32\u0e07<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">WordPress 7.0 \u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e19\u0e35\u0e49\u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14 \u0e14\u0e49\u0e27\u0e22\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07 PHP API \u0e01\u0e25\u0e32\u0e07\u0e17\u0e35\u0e48\u0e17\u0e33\u0e43\u0e2b\u0e49 Plugin \u0e1a\u0e2d\u0e01\u0e41\u0e04\u0e48\u0e27\u0e48\u0e32 &#8220;\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e2d\u0e30\u0e44\u0e23&#8221; \u0e41\u0e25\u0e49\u0e27\u0e43\u0e2b\u0e49 WordPress \u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e2b\u0e32\u0e27\u0e48\u0e32\u0e08\u0e30\u0e2a\u0e48\u0e07\u0e44\u0e1b\u0e43\u0e2b\u0e49 AI Model \u0e44\u0e2b\u0e19 \u0e44\u0e21\u0e48\u0e27\u0e48\u0e32 Site \u0e19\u0e31\u0e49\u0e19\u0e08\u0e30\u0e43\u0e0a\u0e49 Claude, GPT, \u0e2b\u0e23\u0e37\u0e2d Gemini \u0e2d\u0e22\u0e39\u0e48\u0e01\u0e47\u0e15\u0e32\u0e21<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#\u0e40\u0e23-\u0e21\u0e15-\u0e19\u0e43\u0e0a-\u0e07\u0e32\u0e19\u0e15-\u0e07\u0e41\u0e15-\u0e28-\u0e19\u0e22\">\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e15\u0e31\u0e49\u0e07\u0e41\u0e15\u0e48\u0e28\u0e39\u0e19\u0e22\u0e4c<\/a><\/li><li><a href=\"#\u0e2a\u0e23-\u0e32\u0e07\u0e02-\u0e2d\u0e04\u0e27\u0e32\u0e21\">\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21<\/a><\/li><li><a href=\"#\u0e23-\u0e1a-json-\u0e01\u0e25-\u0e1a\u0e21\u0e32\u0e1e\u0e23-\u0e2d\u0e21-schema\">\u0e23\u0e31\u0e1a JSON \u0e01\u0e25\u0e31\u0e1a\u0e21\u0e32\u0e1e\u0e23\u0e49\u0e2d\u0e21 Schema<\/a><\/li><li><a href=\"#\u0e2a\u0e23-\u0e32\u0e07\u0e23-\u0e1b\u0e20\u0e32\u0e1e\">\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e23\u0e39\u0e1b\u0e20\u0e32\u0e1e<\/a><\/li><li><a href=\"#\u0e40\u0e25-\u0e2d\u0e01-model-\u0e17-\u0e15-\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e41\u0e1a\u0e1a-fallback\">\u0e40\u0e25\u0e37\u0e2d\u0e01 Model \u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e41\u0e1a\u0e1a Fallback<\/a><\/li><li><a href=\"#\u0e40\u0e0a-\u0e2d\u0e21\u0e01-\u0e1a-rest-api\">\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e01\u0e31\u0e1a REST API<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u0e40\u0e23-\u0e21\u0e15-\u0e19\u0e43\u0e0a-\u0e07\u0e32\u0e19\u0e15-\u0e07\u0e41\u0e15-\u0e28-\u0e19\u0e22\">\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e15\u0e31\u0e49\u0e07\u0e41\u0e15\u0e48\u0e28\u0e39\u0e19\u0e22\u0e4c<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e01\u0e48\u0e2d\u0e19\u0e2d\u0e37\u0e48\u0e19\u0e15\u0e49\u0e2d\u0e07\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 AI Provider Plugin \u0e01\u0e48\u0e2d\u0e19 \u0e40\u0e25\u0e37\u0e2d\u0e01\u0e44\u0e14\u0e49\u0e15\u0e32\u0e21\u0e17\u0e35\u0e48\u0e25\u0e39\u0e01\u0e04\u0e49\u0e32\u0e21\u0e35 API Key \u0e2d\u0e22\u0e39\u0e48 \u0e08\u0e30\u0e40\u0e1b\u0e47\u0e19 Anthropic, Google \u0e2b\u0e23\u0e37\u0e2d OpenAI \u0e01\u0e47\u0e44\u0e14\u0e49\u0e17\u0e31\u0e49\u0e07\u0e19\u0e31\u0e49\u0e19 \u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e44\u0e1b\u0e17\u0e35\u0e48 <strong>Settings &gt; Connectors<\/strong> \u0e41\u0e25\u0e49\u0e27\u0e01\u0e23\u0e2d\u0e01 API Key \u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b \u0e40\u0e17\u0e48\u0e32\u0e19\u0e35\u0e49\u0e01\u0e47\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e41\u0e25\u0e49\u0e27<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e2a\u0e34\u0e48\u0e07\u0e2a\u0e33\u0e04\u0e31\u0e0d\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e17\u0e33\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e23\u0e35\u0e22\u0e01 AI \u0e17\u0e38\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07\u0e04\u0e37\u0e2d\u0e40\u0e0a\u0e47\u0e04\u0e27\u0e48\u0e32 Site \u0e19\u0e31\u0e49\u0e19\u0e21\u0e35 Provider \u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e44\u0e27\u0e49\u0e2b\u0e23\u0e37\u0e2d\u0e40\u0e1b\u0e25\u0e48\u0e32 \u0e40\u0e1e\u0e23\u0e32\u0e30\u0e44\u0e21\u0e48\u0e43\u0e0a\u0e48\u0e17\u0e38\u0e01 Site \u0e08\u0e30\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 AI \u0e40\u0e2a\u0e21\u0e2d<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\" data-enlighter-theme=\"monokai\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$builder = wp_ai_client_prompt( 'test' );\n\nif ( ! $builder->is_supported_for_text_generation() ) {\n    \/\/ \u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32 Provider \u0e44\u0e27\u0e49 \u0e43\u0e2b\u0e49\u0e41\u0e2a\u0e14\u0e07 Notice \u0e2b\u0e23\u0e37\u0e2d\u0e0b\u0e48\u0e2d\u0e19 UI \u0e01\u0e47\u0e44\u0e14\u0e49\n    return;\n}\n\n\/\/ \u0e16\u0e49\u0e32\u0e16\u0e36\u0e07\u0e1a\u0e23\u0e23\u0e17\u0e31\u0e14\u0e19\u0e35\u0e49\u0e44\u0e14\u0e49 \u0e41\u0e1b\u0e25\u0e27\u0e48\u0e32\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u0e2a\u0e23-\u0e32\u0e07\u0e02-\u0e2d\u0e04\u0e27\u0e32\u0e21\">\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e08\u0e38\u0e14\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19\u0e17\u0e38\u0e01\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e2d\u0e22\u0e39\u0e48\u0e17\u0e35\u0e48\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19\u0e40\u0e14\u0e35\u0e22\u0e27 \u0e04\u0e37\u0e2d <code>wp_ai_client_prompt()<\/code> \u0e0b\u0e36\u0e48\u0e07\u0e40\u0e1b\u0e47\u0e19 Fluent Builder \u0e04\u0e25\u0e49\u0e32\u0e22\u0e01\u0e31\u0e1a Query Builder \u0e17\u0e35\u0e48\u0e04\u0e38\u0e49\u0e19\u0e01\u0e31\u0e19\u0e14\u0e35\u0e43\u0e19 Laravel \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16 Chain Method \u0e15\u0e48\u0e2d\u0e01\u0e31\u0e19\u0e44\u0e14\u0e49\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e22\u0e46<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"true\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$text = wp_ai_client_prompt( '\u0e40\u0e02\u0e35\u0e22\u0e19\u0e04\u0e33\u0e2d\u0e18\u0e34\u0e1a\u0e32\u0e22 Meta Description \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e07 WordPress Caching' )\n    ->using_system_instruction( '\u0e04\u0e38\u0e13\u0e40\u0e1b\u0e47\u0e19 SEO Expert \u0e17\u0e35\u0e48\u0e40\u0e0a\u0e35\u0e48\u0e22\u0e27\u0e0a\u0e32\u0e0d\u0e14\u0e49\u0e32\u0e19 WordPress' )\n    ->using_temperature( 0.7 )  \/\/ 0 = \u0e41\u0e21\u0e48\u0e19\u0e22\u0e33, 1 = \u0e2a\u0e23\u0e49\u0e32\u0e07\u0e2a\u0e23\u0e23\u0e04\u0e4c\n    ->using_max_tokens( 200 )\n    ->generate_text();\n\nif ( is_wp_error( $text ) ) {\n    error_log( $text->get_error_message() );\n    return;\n}\n\necho wp_kses_post( $text );\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u0e23-\u0e1a-json-\u0e01\u0e25-\u0e1a\u0e21\u0e32\u0e1e\u0e23-\u0e2d\u0e21-schema\">\u0e23\u0e31\u0e1a JSON \u0e01\u0e25\u0e31\u0e1a\u0e21\u0e32\u0e1e\u0e23\u0e49\u0e2d\u0e21 Schema<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e41\u0e17\u0e19\u0e17\u0e35\u0e48\u0e08\u0e30\u0e43\u0e2b\u0e49 AI \u0e15\u0e2d\u0e1a\u0e01\u0e25\u0e31\u0e1a\u0e21\u0e32\u0e40\u0e1b\u0e47\u0e19\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e41\u0e25\u0e49\u0e27\u0e15\u0e49\u0e2d\u0e07\u0e21\u0e32 Parse \u0e40\u0e2d\u0e07 \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e01\u0e33\u0e2b\u0e19\u0e14 JSON Schema \u0e44\u0e14\u0e49\u0e40\u0e25\u0e22\u0e27\u0e48\u0e32\u0e2d\u0e22\u0e32\u0e01\u0e44\u0e14\u0e49\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e2b\u0e19\u0e49\u0e32\u0e15\u0e32\u0e41\u0e1a\u0e1a\u0e44\u0e2b\u0e19 \u0e40\u0e2b\u0e21\u0e32\u0e30\u0e21\u0e32\u0e01\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e07\u0e32\u0e19\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e40\u0e2d\u0e32\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e44\u0e1b\u0e41\u0e2a\u0e14\u0e07\u0e1c\u0e25\u0e43\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e40\u0e27\u0e47\u0e1a \u0e2b\u0e23\u0e37\u0e2d\u0e40\u0e01\u0e47\u0e1a\u0e25\u0e07 Database<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\/\/ \u0e01\u0e33\u0e2b\u0e19\u0e14\u0e2b\u0e19\u0e49\u0e32\u0e15\u0e32\u0e02\u0e2d\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\n$schema = array(\n    'type'  => 'array',\n    'items' => array(\n        'type'       => 'object',\n        'properties' => array(\n            'title'       => array( 'type' => 'string' ),\n            'description' => array( 'type' => 'string' ),\n            'category'    => array( 'type' => 'string' ),\n            'difficulty'  => array(\n                'type' => 'string',\n                'enum' => array( 'beginner', 'intermediate', 'advanced' ),\n            ),\n        ),\n        'required' => array( 'title', 'description', 'category', 'difficulty' ),\n    ),\n);\n\n$json = wp_ai_client_prompt( '\u0e41\u0e19\u0e30\u0e19\u0e33 5 \u0e2b\u0e31\u0e27\u0e02\u0e49\u0e2d\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e40\u0e27\u0e47\u0e1a WordPress Developer \u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22' )\n    ->as_json_response( $schema )\n    ->generate_text();\n\nif ( is_wp_error( $json ) ) {\n    return;\n}\n\n\/\/ \u0e44\u0e14\u0e49 Array \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e43\u0e0a\u0e49\u0e40\u0e25\u0e22 \u0e44\u0e21\u0e48\u0e15\u0e49\u0e2d\u0e07 Parse \u0e40\u0e2d\u0e07\n$topics = json_decode( $json, true );\n\nforeach ( $topics as $topic ) {\n    echo '&lt;h3>' . esc_html( $topic['title'] ) . '&lt;\/h3>';\n    echo '&lt;p>' . esc_html( $topic['description'] ) . '&lt;\/p>';\n    echo '&lt;small>\u0e2b\u0e21\u0e27\u0e14: ' . esc_html( $topic['category'] ) . ' | \u0e23\u0e30\u0e14\u0e31\u0e1a: ' . esc_html( $topic['difficulty'] ) . '&lt;\/small>';\n}\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u0e2a\u0e23-\u0e32\u0e07\u0e23-\u0e1b\u0e20\u0e32\u0e1e\">\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e23\u0e39\u0e1b\u0e20\u0e32\u0e1e<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e01\u0e48\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e23\u0e39\u0e1b\u0e04\u0e27\u0e23\u0e40\u0e0a\u0e47\u0e04\u0e27\u0e48\u0e32 Provider \u0e17\u0e35\u0e48\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e44\u0e27\u0e49\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a Image Generation \u0e14\u0e49\u0e27\u0e22\u0e2b\u0e23\u0e37\u0e2d\u0e40\u0e1b\u0e25\u0e48\u0e32 \u0e40\u0e1e\u0e23\u0e32\u0e30\u0e44\u0e21\u0e48\u0e43\u0e0a\u0e48\u0e17\u0e38\u0e01 Provider \u0e08\u0e30\u0e17\u0e33\u0e44\u0e14\u0e49<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$builder = wp_ai_client_prompt( 'test' );\n\nif ( ! $builder->is_supported_for_image_generation() ) {\n    echo 'Provider \u0e17\u0e35\u0e48\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e44\u0e27\u0e49\u0e44\u0e21\u0e48\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e23\u0e39\u0e1b\u0e20\u0e32\u0e1e';\n    return;\n}\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e41\u0e19\u0e48\u0e43\u0e08\u0e41\u0e25\u0e49\u0e27\u0e27\u0e48\u0e32\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a \u0e01\u0e47\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e44\u0e14\u0e49\u0e40\u0e25\u0e22:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">use WordPress\\AiClient\\Files\\Enums\\FileTypeEnum;\nuse WordPress\\AiClient\\Files\\Enums\\MediaOrientationEnum;\n\n$image_file = wp_ai_client_prompt( '\u0e20\u0e32\u0e1e Hero Banner \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e40\u0e27\u0e47\u0e1a Tech Blog \u0e2a\u0e44\u0e15\u0e25\u0e4c Minimal \u0e2a\u0e35\u0e19\u0e49\u0e33\u0e40\u0e07\u0e34\u0e19\u0e40\u0e02\u0e49\u0e21' )\n    ->as_output_file_type( FileTypeEnum::inline() )\n    ->as_output_media_orientation( MediaOrientationEnum::from( 'landscape' ) )\n    ->generate_image();\n\nif ( is_wp_error( $image_file ) ) {\n    return;\n}\n\necho '&lt;img src=\"' . esc_url( $image_file->getDataUri() ) . '\" alt=\"Hero Banner\">';\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e16\u0e49\u0e32\u0e2d\u0e22\u0e32\u0e01\u0e44\u0e14\u0e49\u0e2b\u0e25\u0e32\u0e22\u0e41\u0e1a\u0e1a\u0e43\u0e2b\u0e49\u0e25\u0e39\u0e01\u0e04\u0e49\u0e32\u0e40\u0e25\u0e37\u0e2d\u0e01 \u0e02\u0e2d\u0e21\u0e32\u0e2b\u0e25\u0e32\u0e22 Variation \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e01\u0e31\u0e19\u0e44\u0e14\u0e49\u0e40\u0e25\u0e22:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$images = wp_ai_client_prompt( '\u0e42\u0e25\u0e42\u0e01\u0e49\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e23\u0e49\u0e32\u0e19\u0e01\u0e32\u0e41\u0e1f\u0e2a\u0e44\u0e15\u0e25\u0e4c Minimalist \u0e1e\u0e37\u0e49\u0e19\u0e2b\u0e25\u0e31\u0e07\u0e02\u0e32\u0e27' )\n    ->as_output_media_orientation( MediaOrientationEnum::from( 'square' ) )\n    ->generate_images( 4 );  \/\/ \u0e02\u0e2d\u0e21\u0e32 4 \u0e41\u0e1a\u0e1a\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e01\u0e31\u0e19\n\nif ( is_wp_error( $images ) ) {\n    return;\n}\n\necho '&lt;div style=\"display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;\">';\nforeach ( $images as $index => $image ) {\n    echo '&lt;div>';\n    echo '&lt;img src=\"' . esc_url( $image->getDataUri() ) . '\" style=\"width: 100%;\">';\n    echo '&lt;button onclick=\"selectImage(' . $index . ')\">\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e41\u0e1a\u0e1a\u0e19\u0e35\u0e49&lt;\/button>';\n    echo '&lt;\/div>';\n}\necho '&lt;\/div>';\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u0e40\u0e25-\u0e2d\u0e01-model-\u0e17-\u0e15-\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e41\u0e1a\u0e1a-fallback\">\u0e40\u0e25\u0e37\u0e2d\u0e01 Model \u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e41\u0e1a\u0e1a Fallback<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e16\u0e49\u0e32 Plugin \u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23 Model \u0e40\u0e09\u0e1e\u0e32\u0e30\u0e40\u0e08\u0e32\u0e30\u0e08\u0e07 \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e23\u0e30\u0e1a\u0e38\u0e25\u0e33\u0e14\u0e31\u0e1a Fallback \u0e44\u0e27\u0e49\u0e44\u0e14\u0e49\u0e40\u0e25\u0e22 WordPress \u0e08\u0e30\u0e40\u0e25\u0e37\u0e2d\u0e01 Model \u0e41\u0e23\u0e01\u0e17\u0e35\u0e48\u0e21\u0e35\u0e43\u0e2b\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e44\u0e14\u0e49\u0e1a\u0e19 Site \u0e19\u0e31\u0e49\u0e19 \u0e41\u0e25\u0e30\u0e16\u0e49\u0e32\u0e44\u0e21\u0e48\u0e21\u0e35\u0e2a\u0e31\u0e01\u0e15\u0e31\u0e27\u0e01\u0e47\u0e08\u0e30 Fallback \u0e44\u0e1b\u0e2b\u0e32 Model \u0e17\u0e35\u0e48\u0e40\u0e2b\u0e21\u0e32\u0e30\u0e2a\u0e21\u0e17\u0e35\u0e48\u0e2a\u0e38\u0e14\u0e43\u0e2b\u0e49\u0e40\u0e2d\u0e07\u0e42\u0e14\u0e22\u0e2d\u0e31\u0e15\u0e42\u0e19\u0e21\u0e31\u0e15\u0e34<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$result = wp_ai_client_prompt( '\u0e27\u0e34\u0e40\u0e04\u0e23\u0e32\u0e30\u0e2b\u0e4c Tone \u0e02\u0e2d\u0e07\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49\u0e41\u0e25\u0e30\u0e41\u0e19\u0e30\u0e19\u0e33\u0e27\u0e34\u0e18\u0e35\u0e1b\u0e23\u0e31\u0e1a\u0e1b\u0e23\u0e38\u0e07' )\n    ->using_model_preference(\n        'claude-sonnet-4-6',       \/\/ \u0e2d\u0e22\u0e32\u0e01\u0e44\u0e14\u0e49\u0e15\u0e31\u0e27\u0e19\u0e35\u0e49\u0e21\u0e32\u0e01\u0e17\u0e35\u0e48\u0e2a\u0e38\u0e14\n        'gemini-3.1-pro-preview',  \/\/ \u0e16\u0e49\u0e32\u0e44\u0e21\u0e48\u0e21\u0e35\u0e01\u0e47\u0e15\u0e31\u0e27\u0e19\u0e35\u0e49\n        'gpt-5.4'                  \/\/ \u0e2b\u0e23\u0e37\u0e2d\u0e2d\u0e31\u0e19\u0e19\u0e35\u0e49\u0e01\u0e47\u0e44\u0e14\u0e49\n    )\n    ->generate_text_result();\n\nif ( is_wp_error( $result ) ) {\n    return;\n}\n\n\/\/ \u0e14\u0e39\u0e44\u0e14\u0e49\u0e27\u0e48\u0e32 Model \u0e41\u0e25\u0e30 Provider \u0e44\u0e2b\u0e19\u0e15\u0e2d\u0e1a\u0e01\u0e25\u0e31\u0e1a\u0e21\u0e32\u0e08\u0e23\u0e34\u0e07\u0e46\n$model    = $result->getModelMetadata();\n$provider = $result->getProviderMetadata();\n$tokens   = $result->getTokenUsage();  \/\/ \u0e14\u0e39 Token \u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e44\u0e1b\n\nerror_log( '\u0e43\u0e0a\u0e49 Model: ' . $model->getName() . ' \u0e08\u0e32\u0e01 ' . $provider->getName() );\nerror_log( 'Token \u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49: ' . $tokens->getTotal() );\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e32\u0e01 <code>generate_text_result()<\/code> \u0e41\u0e17\u0e19 <code>generate_text()<\/code> \u0e21\u0e35\u0e1b\u0e23\u0e30\u0e42\u0e22\u0e0a\u0e19\u0e4c\u0e21\u0e32\u0e01\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a Debug \u0e2b\u0e23\u0e37\u0e2d\u0e16\u0e49\u0e32\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23 Track \u0e04\u0e48\u0e32\u0e43\u0e0a\u0e49\u0e08\u0e48\u0e32\u0e22\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49 AI \u0e02\u0e2d\u0e07 Site<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u0e40\u0e0a-\u0e2d\u0e21\u0e01-\u0e1a-rest-api\">\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e01\u0e31\u0e1a REST API<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e07\u0e32\u0e19\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e2b\u0e49 JavaScript \u0e1d\u0e31\u0e48\u0e07 Front-end \u0e40\u0e23\u0e35\u0e22\u0e01\u0e43\u0e0a\u0e49 \u0e27\u0e34\u0e18\u0e35\u0e17\u0e35\u0e48\u0e41\u0e19\u0e30\u0e19\u0e33\u0e04\u0e37\u0e2d\u0e2a\u0e23\u0e49\u0e32\u0e07 REST Endpoint \u0e40\u0e09\u0e1e\u0e32\u0e30\u0e02\u0e36\u0e49\u0e19\u0e21\u0e32\u0e41\u0e25\u0e49\u0e27\u0e04\u0e27\u0e1a\u0e04\u0e38\u0e21 Permission \u0e40\u0e2d\u0e07\u0e17\u0e35\u0e48\u0e1d\u0e31\u0e48\u0e07 PHP \u0e44\u0e21\u0e48\u0e04\u0e27\u0e23\u0e43\u0e2b\u0e49 JS \u0e40\u0e23\u0e35\u0e22\u0e01 AI \u0e42\u0e14\u0e22\u0e15\u0e23\u0e07 \u0e40\u0e1e\u0e23\u0e32\u0e30\u0e08\u0e30\u0e04\u0e27\u0e1a\u0e04\u0e38\u0e21\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e01\u0e32\u0e23\u0e40\u0e02\u0e49\u0e32\u0e16\u0e36\u0e07\u0e44\u0e14\u0e49\u0e22\u0e32\u0e01\u0e01\u0e27\u0e48\u0e32\u0e21\u0e32\u0e01<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">add_action( 'rest_api_init', function () {\n    register_rest_route( 'myplugin\/v1', '\/generate-description', array(\n        'methods'             => 'POST',\n        'callback'            => 'myplugin_generate_description',\n        'permission_callback' => function () {\n            return current_user_can( 'edit_posts' );\n        },\n    ) );\n} );\n\nfunction myplugin_generate_description( WP_REST_Request $request ) {\n    $product_name = sanitize_text_field( $request->get_param( 'product_name' ) );\n\n    $result = wp_ai_client_prompt(\n        sprintf( '\u0e40\u0e02\u0e35\u0e22\u0e19\u0e04\u0e33\u0e2d\u0e18\u0e34\u0e1a\u0e32\u0e22\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a \"%s\" \u0e04\u0e27\u0e32\u0e21\u0e22\u0e32\u0e27\u0e1b\u0e23\u0e30\u0e21\u0e32\u0e13 100 \u0e04\u0e33', $product_name )\n    )\n        ->using_system_instruction( '\u0e04\u0e38\u0e13\u0e40\u0e1b\u0e47\u0e19\u0e19\u0e31\u0e01\u0e40\u0e02\u0e35\u0e22\u0e19 Copywriter \u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22\u0e17\u0e35\u0e48\u0e40\u0e0a\u0e35\u0e48\u0e22\u0e27\u0e0a\u0e32\u0e0d\u0e14\u0e49\u0e32\u0e19 E-commerce' )\n        ->using_temperature( 0.8 )\n        ->generate_text_result();\n\n    return rest_ensure_response( $result );\n}\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e1d\u0e31\u0e48\u0e07 JavaScript \u0e40\u0e23\u0e35\u0e22\u0e01\u0e41\u0e04\u0e48\u0e19\u0e35\u0e49:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">const response = await fetch( '\/wp-json\/myplugin\/v1\/generate-description', {\n    method: 'POST',\n    headers: {\n        'Content-Type': 'application\/json',\n        'X-WP-Nonce': wpApiSettings.nonce,\n    },\n    body: JSON.stringify({ product_name: '\u0e01\u0e23\u0e30\u0e40\u0e1b\u0e4b\u0e32\u0e2b\u0e19\u0e31\u0e07\u0e41\u0e17\u0e49 Handmade' }),\n} );\n\nconst data = await response.json();\nconsole.log( data );\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e01\u0e32\u0e23\u0e17\u0e35\u0e48 AI \u0e40\u0e02\u0e49\u0e32\u0e21\u0e32\u0e2d\u0e22\u0e39\u0e48\u0e43\u0e19 Core \u0e04\u0e23\u0e31\u0e49\u0e07\u0e19\u0e35\u0e49\u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e41\u0e04\u0e48\u0e40\u0e1e\u0e34\u0e48\u0e21 Feature \u0e43\u0e2b\u0e21\u0e48 \u0e41\u0e15\u0e48\u0e21\u0e31\u0e19\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e27\u0e34\u0e18\u0e35\u0e17\u0e35\u0e48 Developer \u0e17\u0e33\u0e07\u0e32\u0e19\u0e01\u0e31\u0e1a AI \u0e43\u0e19 WordPress \u0e44\u0e1b\u0e40\u0e25\u0e22 \u0e40\u0e1e\u0e23\u0e32\u0e30\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49\u0e17\u0e38\u0e01\u0e04\u0e19\u0e1e\u0e39\u0e14\u0e20\u0e32\u0e29\u0e32\u0e40\u0e14\u0e35\u0e22\u0e27\u0e01\u0e31\u0e19 \u0e43\u0e0a\u0e49 API \u0e0a\u0e38\u0e14\u0e40\u0e14\u0e35\u0e22\u0e27\u0e01\u0e31\u0e19 \u0e41\u0e25\u0e30 Site Owner \u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01\u0e17\u0e35\u0e48\u0e40\u0e14\u0e35\u0e22\u0e27 \u0e44\u0e21\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e44\u0e1b\u0e27\u0e38\u0e48\u0e19\u0e27\u0e32\u0e22\u0e01\u0e31\u0e1a API Key \u0e2b\u0e25\u0e32\u0e22 Plugin \u0e2d\u0e35\u0e01\u0e15\u0e48\u0e2d\u0e44\u0e1b<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49\u0e2d\u0e49\u0e32\u0e07\u0e2d\u0e34\u0e07\u0e08\u0e32\u0e01 Official Dev Note \u0e02\u0e2d\u0e07\u0e17\u0e35\u0e21 WordPress Core \u2014 <a href=\"https:\/\/make.wordpress.org\/core\/2026\/03\/24\/introducing-the-ai-client-in-wordpress-7-0\/\" target=\"_blank\" rel=\"noopener\">Introducing the AI Client in WordPress 7.0<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress 7.0 \u0e40\u0e1b\u0e34\u0e14\u0e15\u0e31\u0e27\u0e1f\u0e35\u0e40\u0e08\u0e2d\u0e23\u0e4c\u0e17\u0e35\u0e48\u0e19\u0e48\u0e32\u0e15\u0e37\u0e48\u0e19\u0e40\u0e15\u0e49\u0e19\u0e17\u0e35\u0e48\u0e2a\u0e38\u0e14\u0e43\u0e19\u0e23\u0e2d\u0e1a\u0e2b\u0e25\u0e32\u0e22\u0e1b\u0e35 \u0e19\u0e31\u0e48\u0e19\u0e04\u0e37\u0e2d\u0e01\u0e32\u0e23\u0e23\u0e27\u0e21 AI Client \u0e40\u0e02\u0e49\u0e32\u0e21\u0e32\u0e40\u0e1b\u0e47\u0e19\u0e2a\u0e48\u0e27\u0e19\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e02\u0e2d\u0e07 Core \u0e42\u0e14\u0e22\u0e15\u0e23\u0e07 \u0e44\u0e21\u0e48\u0e43\u0e0a\u0e48\u0e41\u0e04\u0e48 Plugin \u0e40\u0e2a\u0e23\u0e34\u0e21\u0e2d\u0e35\u0e01\u0e15\u0e48\u0e2d\u0e44\u0e1b \u0e17\u0e35\u0e48\u0e1c\u0e48\u0e32\u0e19\u0e21\u0e32 \u0e16\u0e49\u0e32\u0e2d\u0e22\u0e32\u0e01\u0e40\u0e1e\u0e34\u0e48\u0e21 AI Feature \u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b\u0e43\u0e19 Plugin \u0e15\u0e49\u0e2d\u0e07\u0e17\u0e33\u0e17\u0e38\u0e01\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e40\u0e2d\u0e07 \u0e15\u0e31\u0e49\u0e07\u0e41\u0e15\u0e48\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d API \u0e02\u0e2d\u0e07\u0e41\u0e15\u0e48\u0e25\u0e30\u0e40\u0e08\u0e49\u0e32 \u0e08\u0e31\u0e14\u0e01\u0e32\u0e23 API Key \u0e02\u0e2d\u0e07\u0e25\u0e39\u0e01\u0e04\u0e49\u0e32 \u0e44\u0e1b\u0e08\u0e19\u0e16\u0e36\u0e07 Handle Error \u0e15\u0e48\u0e32\u0e07\u0e46 \u0e41\u0e15\u0e48\u0e25\u0e30 Plugin \u0e01\u0e47\u0e17\u0e33\u0e41\u0e1a\u0e1a\u0e02\u0e2d\u0e07\u0e15\u0e31\u0e27\u0e40\u0e2d\u0e07 \u0e44\u0e21\u0e48\u0e21\u0e35\u0e21\u0e32\u0e15\u0e23\u0e10\u0e32\u0e19\u0e01\u0e25\u0e32\u0e07 WordPress 7.0 \u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e19\u0e35\u0e49\u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14 \u0e14\u0e49\u0e27\u0e22\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07 PHP API \u0e01\u0e25\u0e32\u0e07\u0e17\u0e35\u0e48\u0e17\u0e33\u0e43\u0e2b\u0e49 Plugin \u0e1a\u0e2d\u0e01\u0e41\u0e04\u0e48\u0e27\u0e48\u0e32 &#8220;\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e2d\u0e30\u0e44\u0e23&#8221; \u0e41\u0e25\u0e49\u0e27\u0e43\u0e2b\u0e49 WordPress \u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e2b\u0e32\u0e27\u0e48\u0e32\u0e08\u0e30\u0e2a\u0e48\u0e07\u0e44\u0e1b\u0e43\u0e2b\u0e49 AI Model \u0e44\u0e2b\u0e19 \u0e44\u0e21\u0e48\u0e27\u0e48\u0e32 Site \u0e19\u0e31\u0e49\u0e19\u0e08\u0e30\u0e43\u0e0a\u0e49 Claude, GPT, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1829,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_gspb_post_css":"","inline_featured_image":false,"footnotes":""},"categories":[43],"tags":[],"class_list":["post-1780","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge"],"acf":{"eng_thumbnail":1829,"eng_title":"WorePress 7.0 Features Native AI- Everything developers must know","eng_description":"WordPress 7.0 introduces a built-in AI Client that changes the way developers build AI-powered plugins \u2014 no more writing custom integrations for every provider or managing API keys on behalf of clients. With the new wp_ai_client_prompt() function, plugins can generate text, images, speech, and structured JSON responses through a single standardized PHP API, regardless of whether the site is running Claude, GPT, or Gemini. Site administrators manage their AI provider credentials directly from the Settings panel, while developers focus entirely on building features. This guide walks through everything you need to know, from basic text generation to REST API integration, with real code examples you can start using today."},"_links":{"self":[{"href":"https:\/\/doaction.co.th\/en\/wp-json\/wp\/v2\/posts\/1780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doaction.co.th\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/doaction.co.th\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/doaction.co.th\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doaction.co.th\/en\/wp-json\/wp\/v2\/comments?post=1780"}],"version-history":[{"count":18,"href":"https:\/\/doaction.co.th\/en\/wp-json\/wp\/v2\/posts\/1780\/revisions"}],"predecessor-version":[{"id":1839,"href":"https:\/\/doaction.co.th\/en\/wp-json\/wp\/v2\/posts\/1780\/revisions\/1839"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/doaction.co.th\/en\/wp-json\/wp\/v2\/media\/1829"}],"wp:attachment":[{"href":"https:\/\/doaction.co.th\/en\/wp-json\/wp\/v2\/media?parent=1780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/doaction.co.th\/en\/wp-json\/wp\/v2\/categories?post=1780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/doaction.co.th\/en\/wp-json\/wp\/v2\/tags?post=1780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}