{"id":2094,"date":"2025-06-10T21:07:55","date_gmt":"2025-06-10T13:07:55","guid":{"rendered":"https:\/\/www.zhaozhao123.cn\/wpcms\/wpdt\/2094.html"},"modified":"2025-06-10T21:07:55","modified_gmt":"2025-06-10T13:07:55","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8wordpress%e4%b8%ad%e9%99%90%e5%88%b6%e8%b4%ad%e4%b9%b0%e6%95%b0%e9%87%8f%ef%bc%88%e5%88%86%e6%ad%a5%e6%8c%87%e5%8d%97%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.zhaozhao123.cn\/wpcms\/post\/2094.html","title":{"rendered":"\u5982\u4f55\u5728WordPress\u4e2d\u9650\u5236\u8d2d\u4e70\u6570\u91cf\uff08\u5206\u6b65\u6307\u5357\uff09"},"content":{"rendered":"<div class=\"wp-block-columns p-0 border is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<div class=\"wp-block-columns px-4 py-3 border-bottom has-background is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\" style=\"background:linear-gradient(243deg,rgb(238,238,238) 0%,rgba(58,166,242,0.15) 100%)\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-6c531013 wp-block-group-is-layout-flex\">\r\n<figure class=\"wp-block-image size-thumbnail is-resized is-style-rounded is-style-rounded--1\"><img decoding=\"async\" src=\"https:\/\/www.zhaozhao123.cn\/myitems\/images\/sites16\/2025\/06\/dyA-1-400x300.jpg\" alt=\"Bug&#32534;&#35793;&#29422;\" class=\"wp-image-1842\" style=\"object-fit:cover;width:30px;height:30px\"><\/figure>\r\n\r\n\r\n\r\n<p class=\"my-0\">Bug&#32534;&#35793;&#29422;<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n\r\n\r\n\r\n<div class=\"wp-block-columns px-xl-5 px-4 py-xl-4 py-3 is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<p>&#22312;WordPress&#20013;&#38480;&#21046;&#36141;&#20080;&#25968;&#37327;&#26159;&#19968;&#39033;&#24120;&#35265;&#30340;&#38656;&#27714;&#65292;&#29305;&#21035;&#26159;&#22312;&#30005;&#21830;&#24179;&#21488;&#25110;&#21830;&#21697;&#30446;&#24405;&#20013;&#12290;&#20197;&#19979;&#26159;&#19968;&#20010;&#22522;&#26412;&#30340;&#20998;&#27493;&#25351;&#21335;&#26469;&#23454;&#29616;&#36825;&#19968;&#21151;&#33021;&#12290;<\/p>\n<h3>&#27493;&#39588;1&#65306;&#28155;&#21152;&#33258;&#23450;&#20041;&#23383;&#27573;&#21040;&#20135;&#21697;&#39029;&#38754;<\/h3>\n<p>&#39318;&#20808;&#65292;&#22312;&#20135;&#21697;&#39029;&#38754;&#30340;&#32534;&#36753;&#22120;&#20013;&#65292;&#25214;&#21040;&ldquo;&#23646;&#24615;&rdquo;&#37096;&#20998;&#65292;&#28857;&#20987;&ldquo;&#28155;&#21152;&#23646;&#24615;&rdquo;&#65292;&#28982;&#21518;&#36873;&#25321;&ldquo;&#25968;&#23383;&rdquo;&#31867;&#22411;&#24182;&#36755;&#20837;&#19968;&#20010;&#36866;&#24403;&#30340;&#21517;&#31216;&#65288;&#20363;&#22914;&ldquo;&#24211;&#23384;&#25968;&#37327;&rdquo;&#65289;&#12290;&#36825;&#26679;&#65292;&#29992;&#25143;&#21487;&#20197;&#22312;&#22635;&#20889;&#34920;&#21333;&#26102;&#25351;&#23450;&#27599;&#20010;&#20135;&#21697;&#30340;&#24211;&#23384;&#25968;&#37327;&#12290;<\/p>\n<h3>&#27493;&#39588;2&#65306;&#21019;&#24314;&#19968;&#20010;&#26032;&#25554;&#20214;&#25110;&#20462;&#25913;&#29616;&#26377;&#25554;&#20214;<\/h3>\n<p>&#23545;&#20110;&#26356;&#22797;&#26434;&#30340;&#38480;&#21046;&#36923;&#36753;&#65292;&#20320;&#21487;&#20197;&#32771;&#34385;&#24320;&#21457;&#19968;&#20010;&#33258;&#23450;&#20041;&#25554;&#20214;&#25110;&#32773;&#20462;&#25913;&#29616;&#26377;&#30340;WordPress&#25554;&#20214;&#12290;&#36825;&#37324;&#20197;<code>woocommerce<\/code>&#20026;&#20363;&#65292;&#20551;&#35774;&#25105;&#20204;&#35201;&#38480;&#21046;&#27599;&#31181;&#20135;&#21697;&#26368;&#22810;&#21482;&#33021;&#36141;&#20080;5&#20010;&#12290;<\/p>\n<h4>&#20462;&#25913; <code>functions.php<\/code><\/h4>\n<pre><code class=\"language-php\">\/\/ &#22312; WordPress &#20027;&#25991;&#20214;&#20013;&#28155;&#21152;&#20197;&#19979;&#20195;&#30721;\nadd_filter('woocommerce_product_data_tabs', 'custom_woo_add_tab');\nfunction custom_woo_add_tab($tabs) {\n    $tabs['custom'] = array(\n        'title'     =&gt; __('Custom Tab'),\n        'priority'  =&gt; 30,\n        'callback'  =&gt; 'custom_woo_custom_tab_content',\n    );\n    return $tabs;\n}\n\nfunction custom_woo_custom_tab_content() {\n?&gt;\n&lt;div id=\"custom-tab-content\" class=\"tab-pane fade\"&gt;\n    &lt;form method=\"post\" action=\"&lt;?php echo esc_url($_SERVER['REQUEST_URI']); ?&gt;\"&gt;\n        &lt;?php do_action('woocommerce_before_checkout_form'); ?&gt;\n\n        &lt;!-- &#28155;&#21152;&#19968;&#20010;&#26032;&#30340;&#38544;&#34255;&#23383;&#27573; --&gt;\n        &lt;input type=\"hidden\" name=\"max_stock\" value=\"&lt;?php echo get_post_meta(get_the_ID(), '_stock_status', true); ?&gt;\" \/&gt;\n\n        &lt;!-- &#26174;&#31034;&#24211;&#23384;&#25968;&#37327; --&gt;\n        &lt;label for=\"stock_limit\"&gt;&#24211;&#23384;&#25968;&#37327;&#65306;&lt;\/label&gt;\n        &lt;input type=\"number\" step=\"1\" min=\"0\" max=\"5\" name=\"stock_limit\" id=\"stock_limit\" value=\"5\" \/&gt;\n\n        &lt;!-- &#25552;&#20132;&#25353;&#38062; --&gt;\n        &lt;button type=\"submit\"&gt;&lt;?php _e('&#25552;&#20132;') ?&gt;&lt;\/button&gt;\n    &lt;\/form&gt;\n&lt;?php }<\/code><\/pre>\n<p>&#36825;&#20010;&#25554;&#20214;&#20250;&#22312;&#29992;&#25143;&#22635;&#20889;&#23436;&#20135;&#21697;&#20449;&#24687;&#21518;&#65292;&#26174;&#31034;&#19968;&#20010;&#39069;&#22806;&#30340;&#36755;&#20837;&#26694;&#65292;&#20801;&#35768;&#20182;&#20204;&#35774;&#32622;&#27599;&#20010;&#20135;&#21697;&#30340;&#26368;&#22823;&#24211;&#23384;&#25968;&#37327;&#12290;&#29992;&#25143;&#21487;&#20197;&#36755;&#20837;&#20540;&#24182;&#22312;&#25552;&#20132;&#34920;&#21333;&#26102;&#65292;&#31995;&#32479;&#20250;&#39564;&#35777;&#35813;&#20540;&#26159;&#21542;&#23567;&#20110;&#31561;&#20110;&#24403;&#21069;&#20135;&#21697;&#30340;&#23454;&#38469;&#24211;&#23384;&#25968;&#37327;&#12290;<\/p>\n<h3>&#27493;&#39588;3&#65306;&#39564;&#35777;&#21644;&#27979;&#35797;<\/h3>\n<p>&#23436;&#25104;&#19978;&#36848;&#27493;&#39588;&#21518;&#65292;&#20445;&#23384;&#26356;&#25913;&#65292;&#28982;&#21518;&#37325;&#26032;&#21152;&#36733;&#20135;&#21697;&#39029;&#38754;&#26597;&#30475;&#25928;&#26524;&#12290;&#22914;&#26524;&#19968;&#20999;&#27491;&#24120;&#65292;&#20320;&#24212;&#35813;&#33021;&#30475;&#21040;&#19968;&#20010;&#39069;&#22806;&#30340;&#24211;&#23384;&#38480;&#21046;&#36873;&#39033;&#65292;&#20801;&#35768;&#29992;&#25143;&#36755;&#20837;&#20182;&#20204;&#24819;&#35201;&#30340;&#20135;&#21697;&#24211;&#23384;&#19978;&#38480;&#12290;<\/p>\n<p>&#36890;&#36807;&#36825;&#31181;&#26041;&#24335;&#65292;&#20320;&#19981;&#20165;&#21487;&#20197;&#25511;&#21046;&#27599;&#20010;&#20135;&#21697;&#30340;&#24211;&#23384;&#25968;&#37327;&#65292;&#36824;&#21487;&#20197;&#25552;&#20379;&#26356;&#22909;&#30340;&#29992;&#25143;&#20307;&#39564;&#65292;&#30830;&#20445;&#21482;&#26377;&#26377;&#36275;&#22815;&#30340;&#24211;&#23384;&#25165;&#33021;&#28385;&#36275;&#29992;&#25143;&#30340;&#36141;&#20080;&#35831;&#27714;&#12290;<\/p>\n<p>&#24076;&#26395;&#36825;&#33021;&#24110;&#21161;&#20320;&#22312;WordPress&#20013;&#26377;&#25928;&#22320;&#38480;&#21046;&#36141;&#20080;&#25968;&#37327;&#65281;&#22914;&#26524;&#26377;&#20219;&#20309;&#38382;&#39064;&#65292;&#35831;&#38543;&#26102;&#25552;&#38382;&#12290;<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div><div class=\"wp-block-columns p-0 border is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<div class=\"wp-block-columns px-4 py-3 border-bottom has-background is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\" style=\"background:linear-gradient(243deg,rgb(238,238,238) 0%,rgba(58,166,242,0.15) 100%)\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-6c531013 wp-block-group-is-layout-flex\">\r\n<figure class=\"wp-block-image size-thumbnail is-resized is-style-rounded is-style-rounded--2\"><img decoding=\"async\" src=\"https:\/\/www.zhaozhao123.cn\/myitems\/images\/sites16\/2025\/06\/zp-400x300.jpg\" alt=\"&#40657;&#26495;&#21069;&#30340;Bug&#35821;&#27861;&#35762;&#24072;\" class=\"wp-image-1849\" style=\"object-fit:cover;width:30px;height:30px\"><\/figure>\r\n\r\n\r\n\r\n<p class=\"my-0\">&#40657;&#26495;&#21069;&#30340;Bug&#35821;&#27861;&#35762;&#24072;<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n\r\n\r\n\r\n<div class=\"wp-block-columns px-xl-5 px-4 py-xl-4 py-3 is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<p>&#22312;WordPress&#20013;&#38480;&#21046;&#21830;&#21697;&#25110;&#26381;&#21153;&#30340;&#25968;&#37327;&#36890;&#24120;&#26159;&#20026;&#20102;&#38450;&#27490;&#29992;&#25143;&#19968;&#27425;&#24615;&#22823;&#37327;&#36141;&#20080;&#65292;&#20174;&#32780;&#36991;&#20813;&#25903;&#20184;&#36807;&#39640;&#30340;&#36153;&#29992;&#25110;&#32773;&#24211;&#23384;&#34987;&#32791;&#23613;&#30340;&#24773;&#20917;&#12290;&#19979;&#38754;&#23558;&#36890;&#36807;&#19968;&#20010;&#35814;&#32454;&#30340;&#27493;&#39588;&#25351;&#21335;&#26469;&#20171;&#32461;&#22914;&#20309;&#22312;WordPress&#20013;&#23454;&#29616;&#36825;&#19968;&#21151;&#33021;&#12290;<\/p>\n<h3>&#27493;&#39588;1: &#21019;&#24314;&#20135;&#21697;&#20998;&#31867;<\/h3>\n<p>&#39318;&#20808;&#65292;&#22312;WordPress&#30340;&#21518;&#21488;&#31649;&#29702;&#30028;&#38754;&#21019;&#24314;&#19968;&#20010;&#26032;&#30340;&#20135;&#21697;&#20998;&#31867;&#65292;&#20363;&#22914;&ldquo;&#20250;&#21592;&#19987;&#20139;&rdquo;&#12290;&#36825;&#26679;&#21487;&#20197;&#20026;&#19981;&#21516;&#31867;&#22411;&#30340;&#36141;&#20080;&#35774;&#32622;&#19981;&#21516;&#30340;&#20215;&#26684;&#12290;<\/p>\n<pre><code class=\"language-html\">&lt;?php\n\/\/ &#20174;&#25968;&#25454;&#24211;&#20013;&#33719;&#21462;&#24403;&#21069;&#20135;&#21697;&#30340;&#20215;&#26684;&#21644;&#38480;&#36141;&#25968;&#37327;\n$price = get_post_meta($product_id, 'price', true);\n$limit = get_post_meta($product_id, 'limit', true);\n\nif ($limit) {\n    \/\/ &#22914;&#26524;&#26377;&#38480;&#36141;&#25968;&#37327;&#65292;&#37027;&#20040;&#35745;&#31639;&#21097;&#20313;&#36141;&#20080;&#27425;&#25968;\n    $remaining_limit = $limit - (int)wp_get_current_user()-&gt;has_cap('manage_options');\n} else {\n    $remaining_limit = 0;\n}\n\n\/\/ &#30830;&#20445;&#29992;&#25143;&#20855;&#26377;&#36275;&#22815;&#30340;&#38480;&#36141;&#25968;&#37327;\nif (!empty($remaining_limit)) {\n    \/\/ &#35753;&#29992;&#25143;&#30693;&#36947;&#20182;&#20204;&#36824;&#21487;&#20197;&#36141;&#20080;&#22810;&#23569;&#27425;\n    echo \"&lt;strong&gt;\" . __('You have &lt;span class='remaining_limit'&gt;\" . $remaining_limit . \"&lt;\/span&gt; remaining limit to purchase this product.', 'your-plugin') . \"&lt;\/strong&gt;\";\n}\n?&gt;<\/code><\/pre>\n<h3>&#27493;&#39588;2: &#32534;&#36753;&#20135;&#21697;&#39029;&#38754;<\/h3>\n<p>&#25509;&#19979;&#26469;&#65292;&#32534;&#36753;&#20135;&#21697;&#35814;&#24773;&#39029;&#20013;&#30340;&#38480;&#36141;&#20449;&#24687;&#12290;&#22312;&#20135;&#21697;&#35814;&#24773;&#39029;&#30340;<code>&lt;form&gt;<\/code>&#26631;&#31614;&#20869;&#28155;&#21152;&#19968;&#20123;&#39069;&#22806;&#30340;&#23383;&#27573;&#20197;&#35760;&#24405;&#29992;&#25143;&#30340;&#36141;&#20080;&#27425;&#25968;&#65306;<\/p>\n<pre><code class=\"language-html\">&lt;form action=\"wp-admin\" method=\"post\"&gt;\n    &lt;!-- &#20854;&#20182;&#37096;&#20998; --&gt;\n    &lt;input type=\"hidden\" name=\"action\" value=\"add_to_cart\"&gt;\n    &lt;div id=\"cart_quantity_input\"&gt;\n        &lt;label for=\"quantity\"&gt;Quantity:&lt;\/label&gt;\n        &lt;input type=\"text\" name=\"quantity\" id=\"quantity\" value=\"&lt;?php echo $quantity; ?&gt;\"&gt;\n        &lt;button type=\"submit\"&gt;&lt;?php esc_html_e('Add to Cart'); ?&gt;&lt;\/button&gt;\n    &lt;\/div&gt;\n&lt;\/form&gt;<\/code><\/pre>\n<p>&#22312;&#36825;&#20010;&#20363;&#23376;&#20013;&#65292;&#25105;&#20204;&#20351;&#29992;&#20102;<code>&lt;?php echo $quantity; ?&gt;<\/code>&#26469;&#33719;&#21462;&#29992;&#25143;&#30340;&#36141;&#20080;&#27425;&#25968;&#12290;&#22914;&#26524;&#36825;&#20010;&#21464;&#37327;&#27809;&#26377;&#20540;&#65292;&#35828;&#26126;&#29992;&#25143;&#36824;&#27809;&#26377;&#23581;&#35797;&#36141;&#20080;&#65292;&#25152;&#20197;&#25105;&#20204;&#21487;&#20197;&#26174;&#31034;&#19968;&#20010;&#25353;&#38062;&#35753;&#29992;&#25143;&#36755;&#20837;&#26032;&#30340;&#25968;&#37327;&#12290;<\/p>\n<h3>&#27493;&#39588;3: &#28155;&#21152;&#38480;&#36141;&#36923;&#36753;<\/h3>\n<p>&#29616;&#22312;&#25105;&#20204;&#38656;&#35201;&#22312;&#25552;&#20132;&#34920;&#21333;&#26102;&#26816;&#26597;&#29992;&#25143;&#30340;&#36141;&#20080;&#27425;&#25968;&#26159;&#21542;&#36229;&#36807;&#20102;&#38480;&#36141;&#25968;&#37327;&#12290;&#36825;&#21487;&#20197;&#36890;&#36807;JavaScript&#25110;PHP&#26469;&#23436;&#25104;&#12290;&#36825;&#37324;&#25105;&#20204;&#23558;&#20351;&#29992;PHP&#30340;<code>$_POST<\/code>&#25968;&#32452;&#26469;&#22788;&#29702;&#34920;&#21333;&#25968;&#25454;&#12290;<\/p>\n<pre><code class=\"language-php\">if ($_SERVER['REQUEST_METHOD'] === 'POST' &amp;&amp; isset($_POST['quantity'])) {\n    $quantity = $_POST['quantity'];\n    $product_id = get_the_ID();\n    $price = get_post_meta($product_id, 'price', true);\n    $limit = get_post_meta($product_id, 'limit', true);\n\n    if ($limit &gt; 0 &amp;&amp; $quantity &lt;= $limit) {\n        update_post_meta($product_id, 'quantity', $quantity); \/\/ &#26356;&#26032;&#36141;&#20080;&#27425;&#25968;\n        \/\/ &#26816;&#26597;&#26159;&#21542;&#36798;&#21040;&#38480;&#36141;&#25968;&#37327;\n        if ($quantity == $limit) {\n            wp_die(__('Sorry! This product is sold out. Please try again later.'));\n        }\n        \/\/ &#22914;&#26524;&#36141;&#20080;&#27425;&#25968;&#27491;&#24120;&#26356;&#26032;&#65292;&#32487;&#32493;&#25191;&#34892;&#21518;&#32493;&#25805;&#20316;\n    } else {\n        wp_die(__('Sorry! You can only buy up to &lt;strong&gt;' . $limit . '&lt;\/strong&gt; of this product per user.'));\n    }\n}<\/code><\/pre>\n<h3>&#27493;&#39588;4: &#22312;WordPress&#21518;&#21488;&#31649;&#29702;&#30028;&#38754;&#26597;&#30475;&#32467;&#26524;<\/h3>\n<p>&#26368;&#21518;&#65292;&#22312;WordPress&#21518;&#21488;&#31649;&#29702;&#30028;&#38754;&#26816;&#26597;&#29992;&#25143;&#26159;&#21542;&#36798;&#21040;&#20102;&#38480;&#36141;&#25968;&#37327;&#12290;&#20320;&#21487;&#20197;&#20351;&#29992;<code>get_post_meta()<\/code>&#20989;&#25968;&#26469;&#33719;&#21462;&#29992;&#25143;&#30340;&#36141;&#20080;&#27425;&#25968;&#65292;&#24182;&#19982;<code>get_post_meta()<\/code>&#20989;&#25968;&#19968;&#36215;&#20351;&#29992;<code>get_post_meta()<\/code>&#20989;&#25968;&#26469;&#33719;&#21462;&#38480;&#36141;&#25968;&#37327;&#12290;<\/p>\n<pre><code class=\"language-html\">&lt;?php\n\/\/ &#33719;&#21462;&#29992;&#25143;&#30340;&#36141;&#20080;&#27425;&#25968;\n$purchase_count = get_post_meta(get_the_ID(), '_wp_http_referer', true);\n\n\/\/ &#33719;&#21462;&#38480;&#36141;&#25968;&#37327;\n$limit = get_post_meta(get_the_ID(), 'limit', true);\n\n\/\/ &#26816;&#26597;&#29992;&#25143;&#26159;&#21542;&#36798;&#21040;&#20102;&#38480;&#36141;&#25968;&#37327;\nif ($purchase_count &gt;= $limit) {\n    wp_die(__('Sorry! You can only buy up to &lt;strong&gt;' . $limit . '&lt;\/strong&gt; of this product per user.'));\n}\n?&gt;<\/code><\/pre>\n<p>&#20197;&#19978;&#23601;&#26159;&#22914;&#20309;&#22312;WordPress&#20013;&#23454;&#29616;&#38480;&#21046;&#21830;&#21697;&#25110;&#26381;&#21153;&#36141;&#20080;&#25968;&#37327;&#30340;&#22522;&#26412;&#27493;&#39588;&#12290;&#36890;&#36807;&#36825;&#31181;&#26041;&#24335;&#65292;&#24744;&#21487;&#20197;&#30830;&#20445;&#24744;&#30340;&#32593;&#31449;&#19981;&#20250;&#22240;&#20026;&#29992;&#25143;&#19968;&#27425;&#24615;&#22823;&#37327;&#36141;&#20080;&#32780;&#23849;&#28291;&#65292;&#21516;&#26102;&#20063;&#21487;&#20197;&#22686;&#21152;&#29992;&#25143;&#30340;&#36141;&#20080;&#20307;&#39564;&#12290;<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Bug&#32534;&#35793;&#29422; &#22312;WordPress&#20013;&#38480;&#21046;&#36141;&#20080;&#25968;&#37327;&#26159;&#19968;&#39033;&#24120;&#35265;&#30340;&#38656;&#038;#2..<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[59],"tuisongtax":[],"class_list":["post-2094","post","type-post","status-publish","format-standard","hentry","category-wpdt","tag-pzjc"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/posts\/2094","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/comments?post=2094"}],"version-history":[{"count":0,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/posts\/2094\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/media?parent=2094"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/categories?post=2094"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/tags?post=2094"},{"taxonomy":"tuisongtax","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/tuisongtax?post=2094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}