{"id":5939,"date":"2023-11-16T16:46:37","date_gmt":"2023-11-16T07:46:37","guid":{"rendered":"https:\/\/wpmake.jp\/contents\/?post_type=customize&#038;p=5939"},"modified":"2024-06-27T17:06:12","modified_gmt":"2024-06-27T08:06:12","slug":"edit_page_customize_description","status":"publish","type":"customize","link":"https:\/\/wpmake.jp\/contents\/customize\/edit_page_customize_description\/","title":{"rendered":"WordPress\u306e\u6295\u7a3f\u4e00\u89a7\u30da\u30fc\u30b8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u307f\u308b\u3010\u524d\u7de8 \u301cedit.php\u89e3\u8aac\u301c\u3011"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_71 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u6b21<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #282828;color:#282828\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #282828;color:#282828\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/wpmake.jp\/contents\/customize\/edit_page_customize_description\/#%E3%81%AF%E3%81%98%E3%82%81%E3%81%AB\" title=\"\u306f\u3058\u3081\u306b\">\u306f\u3058\u3081\u306b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/wpmake.jp\/contents\/customize\/edit_page_customize_description\/#editphp_%E3%81%A8%E3%81%AF\" title=\"edit.php \u3068\u306f\">edit.php \u3068\u306f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/wpmake.jp\/contents\/customize\/edit_page_customize_description\/#%E3%81%A9%E3%81%AE%E6%8A%95%E7%A8%BF%E3%82%BF%E3%82%A4%E3%83%97%E3%82%92%E8%A1%A8%E7%A4%BA%E3%81%99%E3%82%8B%E3%81%8B\" title=\"\u3069\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u8868\u793a\u3059\u308b\u304b\">\u3069\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u8868\u793a\u3059\u308b\u304b<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/wpmake.jp\/contents\/customize\/edit_page_customize_description\/#typenow_%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E6%96%87_editphp_line15-29\" title=\"$typenow \u3092\u4f7f\u7528\u3057\u305f\u6587 [^edit.php line15-29]\">$typenow \u3092\u4f7f\u7528\u3057\u305f\u6587 [^edit.php line15-29]<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/wpmake.jp\/contents\/customize\/edit_page_customize_description\/#post_type%E3%80%81post_type_object_%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E6%96%87_editphp_line35-50\" title=\"$post_type\u3001$post_type_object \u3092\u4f7f\u7528\u3057\u305f\u6587 [^edit.php line35-50]\">$post_type\u3001$post_type_object \u3092\u4f7f\u7528\u3057\u305f\u6587 [^edit.php line35-50]<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/wpmake.jp\/contents\/customize\/edit_page_customize_description\/#%E4%B8%80%E8%A6%A7%E3%81%AE%E8%A1%A8%E7%A4%BA\" title=\"\u4e00\u89a7\u306e\u8868\u793a\">\u4e00\u89a7\u306e\u8868\u793a<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/wpmake.jp\/contents\/customize\/edit_page_customize_description\/#wp_list_table\" title=\"$wp_list_table\">$wp_list_table<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/wpmake.jp\/contents\/customize\/edit_page_customize_description\/#HTML_%E9%83%A8%E5%88%86_2\" title=\"HTML \u90e8\u5206 [^2]\">HTML \u90e8\u5206 [^2]<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/wpmake.jp\/contents\/customize\/edit_page_customize_description\/#views_3\" title=\"views() [^3]\">views() [^3]<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/wpmake.jp\/contents\/customize\/edit_page_customize_description\/#search_box_4\" title=\"search_box() [^4]\">search_box() [^4]<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/wpmake.jp\/contents\/customize\/edit_page_customize_description\/#display_5\" title=\"display() [^5]\">display() [^5]<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/wpmake.jp\/contents\/customize\/edit_page_customize_description\/#display_tablenav_6\" title=\"display_tablenav() [^6]\">display_tablenav() [^6]<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/wpmake.jp\/contents\/customize\/edit_page_customize_description\/#bulk_actions_7\" title=\"bulk_actions() [^7]\">bulk_actions() [^7]<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/wpmake.jp\/contents\/customize\/edit_page_customize_description\/#print_column_headers_8\" title=\"print_column_headers() [^8]\">print_column_headers() [^8]<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/wpmake.jp\/contents\/customize\/edit_page_customize_description\/#display_rows_or_placeholder_9\" title=\"display_rows_or_placeholder() [^9]\">display_rows_or_placeholder() [^9]<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/wpmake.jp\/contents\/customize\/edit_page_customize_description\/#%E3%81%BE%E3%81%A8%E3%82%81%E3%81%A8%E6%AC%A1%E5%9B%9E%E4%BA%88%E5%91%8A\" title=\"\u307e\u3068\u3081\u3068\u6b21\u56de\u4e88\u544a\">\u307e\u3068\u3081\u3068\u6b21\u56de\u4e88\u544a<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/wpmake.jp\/contents\/customize\/edit_page_customize_description\/#%E5%8F%82%E8%80%83%E8%A8%98%E4%BA%8B\" title=\"\u53c2\u8003\u8a18\u4e8b\">\u53c2\u8003\u8a18\u4e8b<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%E3%81%AF%E3%81%98%E3%82%81%E3%81%AB\"><\/span>\u306f\u3058\u3081\u306b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>WordPress\u306e\u7ba1\u7406\u753b\u9762\u306e\u6295\u7a3f\u4e00\u89a7\u3067\u7d5e\u308a\u8fbc\u307f\u3067\u304d\u308b\u9805\u76ee\u3092\u5897\u3084\u3057\u305f\u308a\u3001\u691c\u7d22\u6a5f\u80fd\u3067\u30bf\u30a4\u30c8\u30eb\u4ee5\u5916\u3067\u3082\u691c\u7d22\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u308a\u3068\u3044\u3063\u305f\u3001\u4e00\u89a7\u30da\u30fc\u30b8\u306b\u4fbf\u5229\u306a\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u305f\u3044\u3068\u601d\u3063\u305f\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f <\/p>\n<p>\u4eca\u56de\u306f\u3001\u7ba1\u7406\u753b\u9762\u306e\u4e00\u89a7\u30da\u30fc\u30b8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u305f\u3081\u306e\u524d\u63d0\u3068\u3057\u3066\u3001\u6295\u7a3f\u4e00\u89a7\u30da\u30fc\u30b8\u3092\u8868\u793a\u3057\u3066\u3044\u308bedit.php\u306e\u4e2d\u8eab\u3092\u7d39\u4ecb\u3057\u3001\u3069\u306e\u3088\u3046\u306b\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u8aac\u660e\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"editphp_%E3%81%A8%E3%81%AF\"><\/span>edit.php \u3068\u306f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>edit.php\u306f\u3001WordPress\u7ba1\u7406\u753b\u9762\u5185\u306e\u300c\u6295\u7a3f\u4e00\u89a7\u300d\u3001\u300c\u56fa\u5b9a\u30da\u30fc\u30b8\u4e00\u89a7\u300d\u3068\u3044\u3063\u305f\u4e00\u89a7\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b php \u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002 <\/p>\n<p>\u300c\u6295\u7a3f\u4e00\u89a7\u300d\u3067\u306f\u300chttps:\/\/\u3007\u3007\u3007.com\/wp-admin\/edit.php\u300d\u3001<br \/>\n\u300c\u56fa\u5b9a\u30da\u30fc\u30b8\u4e00\u89a7\u300d\u3067\u306f\u300chttps:\/\/\u3007\u3007\u3007.com\/wp-admin\/edit.php?post_type=page\u300d<br \/>\n\u3068\u3044\u3046\u30ea\u30f3\u30af\u3067\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u4f5c\u6210\u3057\u305f\u5834\u5408\u3001\u300chttps:\/\/\u3007\u3007\u3007.com\/wp-admin\/edit.php?post_type=xxx(\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u540d)\u300d<br \/>\n\u3068\u3044\u3063\u305f\u3088\u3046\u306b\u547c\u3073\u51fa\u3055\u308c\u307e\u3059\u3002<\/p>\n<p> \u4f8b\u3068\u3057\u3066\u3001functions.php\u306bregister_post_type\u3092\u8a18\u8ff0\u3057\u3066\u3001\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3059\u3002<sup>[<a href=\"#reference\">^1<\/a>]<\/sup><\/p>\n<pre>\r\n    function create_custom_post_type()\r\n    {\r\n    $labels = array(\r\n        'name' => '\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f',\r\n        'menu_name' => '\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f',\r\n    );\r\n    $args = array(\r\n        'labels' => $labels,\r\n        'public' => true,\r\n        'show_ui' => true,\r\n        'show_in_nav_menus' => true,\r\n        'show_in_menu' => true,\r\n        'show_in_admin_bar' => true,\r\n        'menu_icon' => 'dashicons-media-code',\r\n    );\r\n    register_post_type('custom', $args);\r\n    }\r\n    add_action('init', create_custom_post_type(...));\r\n<\/pre>\n<p>\u3059\u308b\u3068\u3001\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u306b\u300c\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u300d\u3068\u3044\u3046\u30e1\u30cb\u30e5\u30fc\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002\u30af\u30ea\u30c3\u30af\u3057\u3066\u79fb\u52d5\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u4e00\u89a7\u30da\u30fc\u30b8\u306eURL\u3092\u898b\u308b\u3068\u3001\u300c\/wp-admin\/edit.php?post_type=custom\u300d\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>register_post_type\u306e\u7b2c 1 \u5f15\u6570\uff08 = \u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u540d\uff09\u3092\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3057\u3066 edit.php \u304c\u547c\u3073\u51fa\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/custom-post-type-link.png\" alt=\"\" width=\"568\" height=\"370\" class=\"aligncenter size-full wp-image-5954\" srcset=\"https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/custom-post-type-link.png 568w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/custom-post-type-link-300x195.png 300w\" sizes=\"(max-width: 568px) 100vw, 568px\" \/><\/p>\n<p>edit.php \u304c\u3069\u306e\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u304b\u308f\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u6b21\u306bedit.php\u306e\u30b3\u30fc\u30c9\u3092\u78ba\u8a8d\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u91cd\u8981\u306a\u90e8\u5206\u3067\u3042\u308b\u300c\u3069\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u8868\u793a\u3059\u308b\u304b\u300d\u300c\u3069\u306e\u3088\u3046\u306b\u4e00\u89a7\u3092\u8868\u793a\u3057\u3066\u3044\u308b\u304b\u300d\u3092\u6c7a\u5b9a\u3057\u3066\u3044\u308b\u5834\u6240\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E3%81%A9%E3%81%AE%E6%8A%95%E7%A8%BF%E3%82%BF%E3%82%A4%E3%83%97%E3%82%92%E8%A1%A8%E7%A4%BA%E3%81%99%E3%82%8B%E3%81%8B\"><\/span>\u3069\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u8868\u793a\u3059\u308b\u304b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u304b\u306e\u5224\u5b9a\u306f\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u300e$typenow\u300f\u3068\u300e$post_type\u300f\u3001\u300e$post_type_object\u300f\u3092\u4f7f\u7528\u3057\u3066\u5224\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u305d\u308c\u305e\u308c\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"typenow_%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E6%96%87_editphp_line15-29\"><\/span>$typenow \u3092\u4f7f\u7528\u3057\u305f\u6587 [^edit.php line15-29]<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre>\r\n    global $typenow;\r\n\r\n    if ( ! $typenow ) {\r\n    wp_die( __( 'Invalid post type.' ) );\r\n    }\r\n\r\n    if ( ! in_array( $typenow, get_post_types( array( 'show_ui' => true ) ), true ) ) {\r\n    wp_die( __( 'Sorry, you are not allowed to edit posts in this post type.' ) );\r\n    }\r\n\r\n    if ( 'attachment' === $typenow ) {\r\n        if ( wp_redirect( admin_url( 'upload.php' ) ) ) {\r\n            exit;\r\n        }\r\n    }\r\n<\/pre>\n<p>$typenow\u306f\u73fe\u5728\u306e\u30da\u30fc\u30b8\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u793a\u3059\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3067\u3059\u3002<\/p>\n<p>\u6295\u7a3f\u3067\u3042\u308c\u3070\u300epost\u300f\u3001\u56fa\u5b9a\u30da\u30fc\u30b8\u3067\u3042\u308c\u3070\u300epage\u300f\u3068\u3044\u3046\u3088\u3046\u306b\u3001\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u540d\u524d\u304c\u5165\u3063\u3066\u3044\u307e\u3059\u3002 <\/p>\n<p>\u305d\u3057\u3066\u3001$typenow \u304c\u7a7a\u6587\u5b57\u3060\u3063\u305f\u3068\u304d\u3001\u300ewp_die\u300f\u95a2\u6570\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u300ewp_die\u300f\u306f\u3001WordPress \u306e\u5b9f\u884c\u3092\u7d42\u4e86\u3057\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u5165\u3063\u305f html \u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u95a2\u6570\u3067\u3059\u3002<br \/>\n\u5f15\u6570\u3068\u3057\u3066\u5165\u308c\u305f\u6587\u5b57\u5217\u304c\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3068\u3057\u3066\u8868\u793a\u3055\u308c\u307e\u3059\u3002 <\/p>\n<p>\u8a66\u3057\u306b\u3001\u5148\u307b\u3069\u306e\u300ecustom\u300f\u306e\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u4e00\u89a7\u30da\u30fc\u30b8\u3092\u8868\u793a\u3057\u305f\u72b6\u614b\u3067\u3001functions.php\u306b\u8a18\u8ff0\u3057\u305f\u300eregister_post_type\u300f \u306e\u30b9\u30e9\u30c3\u30b0\u540d\u3092\u66f8\u304d\u63db\u3048\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre>register_post_type('error', $args);<\/pre>\n<p>\u3053\u308c\u3067\u3001\u300ecustom\u300f\u3068\u3044\u3046\u540d\u524d\u306e\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306f\u7121\u304f\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u300ecustom\u300f\u306e\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u4e00\u89a7\u30da\u30fc\u30b8\u3092\u30ea\u30ed\u30fc\u30c9\u3059\u308b\u3068\u3001\u3053\u306e\u3088\u3046\u306a\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/error-message.png\" alt=\"\" width=\"1651\" height=\"457\" class=\"aligncenter size-full wp-image-5955\" srcset=\"https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/error-message.png 1651w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/error-message-300x83.png 300w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/error-message-1024x283.png 1024w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/error-message-768x213.png 768w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/error-message-1536x425.png 1536w\" sizes=\"(max-width: 1651px) 100vw, 1651px\" \/><\/p>\n<p>\u300ecustom\u300f\u3068\u3044\u3046\u540d\u524d\u306e\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u8868\u793a\u3059\u308b\u30da\u30fc\u30b8\u306a\u306e\u306b\u3001\u300ecustom\u300f\u3068\u3044\u3046\u540d\u524d\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u304c\u5b58\u5728\u3057\u306a\u304f\u306a\u3063\u305f\u305f\u3081\u3001\u30a8\u30e9\u30fc\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>21 \u884c\u76ee\u306e if \u6587\u3082\u540c\u69d8\u306b\u3001\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u300eshow_ui\u300f\u304c\u300etrue\/false\u300f\u3092\u5224\u5b9a\u3057\u3001\u300efalse\u300f\u3067\u3042\u308c\u3070\u30a8\u30e9\u30fc\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u3068\u3044\u3046\u3082\u306e\u3068\u306a\u308a\u307e\u3059\u3002 <\/p>\n<p>\u300eshow_ui\u300f\u306f\u7ba1\u7406\u753b\u9762\u306e\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u306b\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u8868\u793a\u3059\u308b\u304b\u3092\u6c7a\u5b9a\u3059\u308b\u5024\u3067\u3059\u3002<br \/>\n\u300efalse\u300f\u3060\u3068\u3001\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u306b\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u30e1\u30cb\u30e5\u30fc\u304c\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>25 \u884c\u76ee\u306e if \u6587\u306f\u3001\u6295\u7a3f\u30bf\u30a4\u30d7\u304c\u300eattachment\u300f\u3067\u3042\u308c\u3070\u3001upload.php \u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3059\u308b\u3068\u3044\u3046\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>upload.php \u306f\u3001\u30e1\u30c7\u30a3\u30a2\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u30da\u30fc\u30b8\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<\/p>\n<p>\u6b8b\u308a\u3082\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"post_type%E3%80%81post_type_object_%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E6%96%87_editphp_line35-50\"><\/span>$post_type\u3001$post_type_object \u3092\u4f7f\u7528\u3057\u305f\u6587 [^edit.php line35-50]<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre>\r\n    global $post_type, $post_type_object;\r\n\r\n    $post_type        = $typenow;\r\n    $post_type_object = get_post_type_object( $post_type );\r\n\r\n    if ( ! $post_type_object ) {\r\n    wp_die( __( 'Invalid post type.' ) );\r\n    }\r\n\r\n    if ( ! current_user_can( $post_type_object->cap->edit_posts ) ) {\r\n    wp_die(\r\n        '<h1>' . __( 'You need a higher level of permission.' ) . '<\/h1>' .\r\n        '<p>' . __( 'Sorry, you are not allowed to edit posts in this post type.' ) . '<\/p>',\r\n        403\r\n    );\r\n    }\r\n<\/pre>\n<p>\u300e$post_type\u300f\u306b\u300e$typenow\u300f\u3001\u3064\u307e\u308a\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u540d\u524d\u3092\u4ee3\u5165\u3057\u3001\u300eget_post_type_object\u300f\u95a2\u6570\u306e\u8fd4\u308a\u5024\u3092\u300e$post_type_object\u300f\u306b\u4ee3\u5165\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u300eget_post_type_object\u300f\u306f\u3001\u6307\u5b9a\u3057\u305f\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3059\u308b\u95a2\u6570\u3067\u3059\u3002<br \/>\n\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u306f\u3001\u300eregister_post_type\u300f\u306e\u5f15\u6570\u306b\u3082\u3042\u3063\u305f\u300elabels\u300f\u3001\u300eshow_ui\u300f\u3001\u300eshow_in_menu\u300f\u3068\u3044\u3063\u305f\u5024\u304c\u5165\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306e if \u6587\u306f\u3001\u3053\u306e\u95a2\u6570\u3067\u4f55\u3082\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u51fa\u6765\u306a\u304b\u3063\u305f\u3068\u304d\u3001\u30a8\u30e9\u30fc\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n2\u3064\u3081\u306e if \u6587\u306f\u3001\u300ecurrent_user_can\u300f\u95a2\u6570\u3067\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u3053\u306e\u30da\u30fc\u30b8\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u7de8\u96c6\u6a29\u9650\u3092\u6301\u3063\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u53d6\u5f97\u3057\u3001\u6301\u3063\u3066\u3044\u306a\u3051\u308c\u3070\u30a8\u30e9\u30fc\u30da\u30fc\u30b8\u3092\u8fd4\u3059\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E4%B8%80%E8%A6%A7%E3%81%AE%E8%A1%A8%E7%A4%BA\"><\/span>\u4e00\u89a7\u306e\u8868\u793a<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u6b21\u306b\u3001\u4e00\u89a7\u30da\u30fc\u30b8\u304c\u3069\u306e\u3088\u3046\u306b\u4f5c\u3089\u308c\u3066\u3044\u308b\u304b\u898b\u3066\u3044\u304d\u307e\u3059\u3002 \u5177\u4f53\u7684\u306b\u306f\u3001\u4e0b\u306e\u56f3\u306e\u90e8\u5206\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list.png\" alt=\"\" width=\"1760\" height=\"601\" class=\"aligncenter size-full wp-image-5960\" srcset=\"https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list.png 1760w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-300x102.png 300w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-1024x350.png 1024w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-768x262.png 768w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-1536x525.png 1536w\" sizes=\"(max-width: 1760px) 100vw, 1760px\" \/><\/p>\n<p>\u4e00\u89a7\u3092\u8868\u793a\u3059\u308b\u969b\u306b\u306f\u3001\u300e$wp_list_table\u300f\u3068\u3044\u3046\u5909\u6570\u304c\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002\u300e$wp_list_table\u300f\u306b\u3064\u3044\u3066\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"wp_list_table\"><\/span>$wp_list_table<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4>52 \u884c\u76ee<\/h4>\n<pre>$wp_list_table = _get_list_table( 'WP_Posts_List_Table' );<\/pre>\n<p>\u3053\u3053\u3067\u300e$wp_list_table\u300f\u3092\u5ba3\u8a00\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u300e_get_list_table\u300f\u306f\u300eWP_List_Table \u300f[^\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\/WP List Table]\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u30d5\u30a7\u30c3\u30c1\u3059\u308b\u95a2\u6570\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u5834\u5408\u306f\u3001\u5f15\u6570\u306b\u5165\u308c\u305f\u300eWP_Posts_List_Table\u300f\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u30d5\u30a7\u30c3\u30c1\u3055\u308c\u307e\u3059\u3002<\/p>\n<h4>235 \u884c\u76ee<\/h4>\n<pre>$wp_list_table->prepare_items();<\/pre>\n<p>\u300eprepare_items\u300f\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u8868\u793a\u3059\u308b\u30c7\u30fc\u30bf\u3092\u6e96\u5099\u3059\u308b\u95a2\u6570\u3067\u3001\u63cf\u753b\u306e\u524d\u306b\u306f\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"HTML_%E9%83%A8%E5%88%86_2\"><\/span>HTML \u90e8\u5206 <sup>[<a href=\"#reference\">^2<\/a>]<\/sup><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre>\r\n    <?php $wp_list_table->views(); ?>\r\n\r\n    <form id=\"posts-filter\" method=\"get\">\r\n\r\n    <?php $wp_list_table->search_box( $post_type_object->labels->search_items, 'post' ); ?>\r\n\r\n    <input type=\"hidden\" name=\"post_status\" class=\"post_status_page\" value=\"<?php echo ! empty( $_REQUEST['post_status'] ) ? esc_attr( $_REQUEST['post_status'] ) : 'all'; ?>\" \/>\r\n    <input type=\"hidden\" name=\"post_type\" class=\"post_type_page\" value=\"<?php echo $post_type; ?>\" \/>\r\n\r\n    <?php if ( ! empty( $_REQUEST['author'] ) ) { ?>\r\n    <input type=\"hidden\" name=\"author\" value=\"<?php echo esc_attr( $_REQUEST['author'] ); ?>\" \/>\r\n    <?php } ?>\r\n\r\n    <?php if ( ! empty( $_REQUEST['show_sticky'] ) ) { ?>\r\n    <input type=\"hidden\" name=\"show_sticky\" value=\"1\" \/>\r\n    <?php } ?>\r\n\r\n    <?php $wp_list_table->display(); ?>\r\n\r\n    <\/form>\r\n<\/pre>\n<p>HTML \u90e8\u5206\u306f\u3068\u3066\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u30b3\u30fc\u30c9\u3067\u3059\u304c\u3001\u300e$wp_list_table\u300f\u304c\u4f7f\u308f\u308c\u3066\u3044\u308b\u5834\u6240\u304c 3 \u7b87\u6240\u3042\u308a\u307e\u3059\u3002\u3053\u306e 3 \u304b\u6240\u306f\u4ee5\u4e0b\u306e\u56f3\u306e\u5834\u6240\u3092\u63cf\u753b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-detail.png\" alt=\"\" width=\"1760\" height=\"601\" class=\"aligncenter size-full wp-image-5957\" srcset=\"https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-detail.png 1760w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-detail-300x102.png 300w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-detail-1024x350.png 1024w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-detail-768x262.png 768w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-detail-1536x525.png 1536w\" sizes=\"(max-width: 1760px) 100vw, 1760px\" \/><\/p>\n<p>\u300e\u300eviews()\u300f\u3001\u300e\u300esearch_box()\u300f\u3001\u300e\u300edisplay()\u300f\u306b\u3064\u3044\u3066\u305d\u308c\u305e\u308c\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"views_3\"><\/span>views() <sup>[<a href=\"#reference\">^3<\/a>]<\/sup><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u300eviews()\u300f\u306f\u3001\u4f7f\u7528\u53ef\u80fd\u306a\u30d3\u30e5\u30fc\u306e\u30ea\u30b9\u30c8\u3092\u63cf\u753b\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002<\/p>\n<pre>\r\n    public function views() {\r\n        $views = $this->get_views();\r\n\r\n        $views = apply_filters( \"views_{$this->screen->id}\", $views );\r\n\r\n        if ( empty( $views ) ) {\r\n        return;\r\n        }\r\n\r\n        $this->screen->render_screen_reader_content( 'heading_views' );\r\n\r\n        echo \"<ul class='subsubsub'>\\n\";\r\n        foreach ( $views as $class => $view ) {\r\n        $views[ $class ] = \"\\t<li class='$class'>$view\";\r\n        }\r\n        echo implode( \" |<\/li>\\n\", $views ) . \"<\/li>\\n\";\r\n        echo '<\/ul>';\r\n    }\r\n<\/pre>\n<p>\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001\u300c\u3059\u3079\u3066\u300d\u3001\u300c\u30b4\u30df\u7bb1\u300d\u3068\u3044\u3063\u305f\u30ea\u30b9\u30c8\u306e\u30ea\u30f3\u30af\u306a\u3069\u3092\u542b\u3093\u3060 HTML \u8981\u7d20\u304c\u5165\u3063\u305f\u914d\u5217\u3092\u8fd4\u3059\u300eget_views\u300f\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3057\u3001\u53d6\u5f97\u3057\u305f\u914d\u5217\u3092\u300eforeach\u300f\u3067\u56de\u3057\u3066\u30ea\u30b9\u30c8\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"search_box_4\"><\/span>search_box() <sup>[<a href=\"#reference\">^4<\/a>]<\/sup><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>search_box()\u306f\u3001\u691c\u7d22\u30dc\u30c3\u30af\u30b9\u3092\u63cf\u753b\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002<\/p>\n<pre>\r\n    <?php\r\n    public function search_box( $text, $input_id ) {\r\n    if ( empty( $_REQUEST['s'] ) &#038;&#038; ! $this->has_items() ) {\r\n        return;\r\n    }\r\n\r\n    $input_id = $input_id . '-search-input';\r\n\r\n    if ( ! empty( $_REQUEST['orderby'] ) ) {\r\n        echo '<input type=\"hidden\" name=\"orderby\" value=\"' . esc_attr( $_REQUEST['orderby'] ) . '\" \/>';\r\n    }\r\n    if ( ! empty( $_REQUEST['order'] ) ) {\r\n        echo '<input type=\"hidden\" name=\"order\" value=\"' . esc_attr( $_REQUEST['order'] ) . '\" \/>';\r\n    }\r\n    if ( ! empty( $_REQUEST['post_mime_type'] ) ) {\r\n        echo '<input type=\"hidden\" name=\"post_mime_type\" value=\"' . esc_attr( $_REQUEST['post_mime_type'] ) . '\" \/>';\r\n    }\r\n    if ( ! empty( $_REQUEST['detached'] ) ) {\r\n        echo '<input type=\"hidden\" name=\"detached\" value=\"' . esc_attr( $_REQUEST['detached'] ) . '\" \/>';\r\n    }\r\n    ?>\r\n    <p class=\"search-box\">\r\n    <label class=\"screen-reader-text\" for=\"<?php echo esc_attr( $input_id ); ?>\"><?php echo $text; ?>:<\/label>\r\n    <input type=\"search\" id=\"<?php echo esc_attr( $input_id ); ?>\" name=\"s\" value=\"<?php _admin_search_query(); ?>\" \/>\r\n    <?php submit_button( $text, '', '', false, array( 'id' => 'search-submit' ) ); ?>\r\n    <\/p>\r\n    <?php\r\n    }\r\n<\/pre>\n<p>\u5f15\u6570\u3092 2 \u3064\u6301\u3061\u3001\u7b2c 1 \u5f15\u6570\u306f\u30dc\u30bf\u30f3\u306e\u6587\u5b57\u3001\u7b2c 2 \u5f15\u6570\u306f\u691c\u7d22\u3059\u308b\u300einput\u300f\u30bf\u30b0\u306e id \u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"display_5\"><\/span>display() <sup>[<a href=\"#reference\">^5<\/a>]<\/sup><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u300edisplay()\u300f\u306f\u3001\u30c6\u30fc\u30d6\u30eb\u3092\u63cf\u753b\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002<\/p>\n<pre>\r\n    <?php\r\n    public function display() {\r\n\r\n        $singular = $this->_args['singular'];\r\n\r\n        $this->display_tablenav( 'top' );\r\n\r\n        $this->screen->render_screen_reader_content( 'heading_list' );\r\n        ?>\r\n    <table class=\"wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>\">\r\n        <?php $this->print_table_description(); ?>\r\n    <thead>\r\n    <tr>\r\n        <?php $this->print_column_headers(); ?>\r\n    <\/tr>\r\n    <\/thead>\r\n\r\n    <tbody id=\"the-list\"\r\n        <?php\r\n        if ( $singular ) {\r\n        echo \" data-wp-lists='list:$singular'\";\r\n        }\r\n        ?>\r\n        >\r\n        <?php $this->display_rows_or_placeholder(); ?>\r\n    <\/tbody>\r\n\r\n    <tfoot>\r\n    <tr>\r\n        <?php $this->print_column_headers( false ); ?>\r\n    <\/tr>\r\n    <\/tfoot>\r\n\r\n    <\/table>\r\n        <?php\r\n        $this->display_tablenav( 'bottom' );\r\n    }\r\n<\/pre>\n<p>display()\u30e1\u30bd\u30c3\u30c9\u306e\u4e2d\u3067\u8907\u6570\u306e\u30e1\u30bd\u30c3\u30c9\u304c\u547c\u3073\u51fa\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u4e2d\u3067\u3001\u5b9f\u969b\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u90e8\u5206\u3092\u63cf\u753b\u3057\u3066\u3044\u308b\u30e1\u30bd\u30c3\u30c9\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"display_tablenav_6\"><\/span>display_tablenav() <sup>[<a href=\"#reference\">^6<\/a>]<\/sup><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u300e>display_tablenav()\u300f\u306f\u3001\u30d7\u30eb\u30c0\u30a6\u30f3\u30ea\u30b9\u30c8\u3092\u63cf\u753b\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-pulldown.png\" alt=\"\" width=\"1760\" height=\"601\" class=\"aligncenter size-full wp-image-5958\" srcset=\"https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-pulldown.png 1760w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-pulldown-300x102.png 300w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-pulldown-1024x350.png 1024w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-pulldown-768x262.png 768w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-pulldown-1536x525.png 1536w\" sizes=\"(max-width: 1760px) 100vw, 1760px\" \/><\/p>\n<pre>\r\n    <?php\r\n    protected function display_tablenav( $which ) {\r\n        if ( 'top' === $which ) {\r\n        wp_nonce_field( 'bulk-' . $this->_args['plural'] );\r\n        }\r\n        ?>\r\n    <div class=\"tablenav <?php echo esc_attr( $which ); ?>\">\r\n\r\n        <?php if ( $this->has_items() ) : ?>\r\n        <div class=\"alignleft actions bulkactions\">\r\n        <?php $this->bulk_actions( $which ); ?>\r\n        <\/div>\r\n        <?php\r\n        endif;\r\n        $this->extra_tablenav( $which );\r\n        $this->pagination( $which );\r\n        ?>\r\n\r\n        <br class=\"clear\" \/>\r\n    <\/div>\r\n        <?php\r\n    }\r\n<\/pre>\n<p>\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306e\u4e2d\u306e\u3001\u300ebulk_actions()\u300f\u30e1\u30bd\u30c3\u30c9\u3067\u30d7\u30eb\u30c0\u30a6\u30f3\u30ea\u30b9\u30c8\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059\u3002 \u300eextra_tablenav()\u300f\u306f\u3001\u8907\u6570\u306e\u30d7\u30eb\u30c0\u30a6\u30f3\u30ea\u30b9\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3068\u304d\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002\u8a73\u7d30\u306f\u6b21\u56de\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"bulk_actions_7\"><\/span>bulk_actions() <sup>[<a href=\"#reference\">^7<\/a>]<\/sup><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre>\r\n    protected function bulk_actions( $which = '' ) {\r\n    if ( is_null( $this->_actions ) ) {\r\n        $this->_actions = $this->get_bulk_actions();\r\n\r\n        $this->_actions = apply_filters( \"bulk_actions-{$this->screen->id}\", $this->_actions );\r\n\r\n        $two = '';\r\n    } else {\r\n        $two = '2';\r\n    }\r\n\r\n    if ( empty( $this->_actions ) ) {\r\n        return;\r\n    }\r\n\r\n    echo '<label for=\"bulk-action-selector-' . esc_attr( $which ) . '\" class=\"screen-reader-text\">' .\r\n\r\n        __( 'Select bulk action' ) .\r\n    '<\/label>';\r\n    echo '<select name=\"action' . $two . '\" id=\"bulk-action-selector-' . esc_attr( $which ) . \"\\\">\\n\";\r\n    echo '<option value=\"-1\">' . __( 'Bulk actions' ) . \"<\/option>\\n\";\r\n\r\n    foreach ( $this->_actions as $key => $value ) {\r\n        if ( is_array( $value ) ) {\r\n        echo \"\\t\" . '<optgroup label=\"' . esc_attr( $key ) . '\">' . \"\\n\";\r\n\r\n        foreach ( $value as $name => $title ) {\r\n            $class = ( 'edit' === $name ) ? ' class=\"hide-if-no-js\"' : '';\r\n\r\n            echo \"\\t\\t\" . '<option value=\"' . esc_attr( $name ) . '\"' . $class . '>' . $title . \"<\/option>\\n\";\r\n        }\r\n        echo \"\\t\" . \"<\/optgroup>\\n\";\r\n        } else {\r\n        $class = ( 'edit' === $key ) ? ' class=\"hide-if-no-js\"' : '';\r\n\r\n        echo \"\\t\" . '<option value=\"' . esc_attr( $key ) . '\"' . $class . '>' . $value . \"<\/option>\\n\";\r\n        }\r\n    }\r\n\r\n    echo \"<\/select>\\n\";\r\n\r\n    submit_button( __( 'Apply' ), 'action', '', false, array( 'id' => \"doaction$two\" ) );\r\n    echo \"\\n\";\r\n    }\r\n<\/pre>\n<p>\u300eget_bulk_actions()\u300f\u30e1\u30bd\u30c3\u30c9\u306f\u300e[\"edit\" => \"\u7de8\u96c6\", \"trash\" => \"\u30b4\u30df\u7bb1\u3078\u79fb\u52d5\"]\u300f\u306e\u3088\u3046\u306a\u9023\u60f3\u914d\u5217\u3092\u8fd4\u3057\u307e\u3059\u3002 \u3053\u306e\u9023\u60f3\u914d\u5217\u3092\u300e_actions\u300f\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u5165\u308c\u3001\u305d\u308c\u3092\u300eforeach\u300f\u3067\u56de\u3059\u3053\u3068\u306b\u3088\u3063\u3066\u30d7\u30eb\u30c0\u30a6\u30f3\u30ea\u30b9\u30c8\u3092\u751f\u6210\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"print_column_headers_8\"><\/span>print_column_headers() <sup>[<a href=\"#reference\">^8<\/a>]<\/sup><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u300eprint_column_headers()\u300f\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u300e&lt;th&gt;\u300f\u90e8\u5206\u3092\u63cf\u753b\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-tableheader.png\" alt=\"\" width=\"1760\" height=\"601\" class=\"aligncenter size-full wp-image-5959\" srcset=\"https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-tableheader.png 1760w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-tableheader-300x102.png 300w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-tableheader-1024x350.png 1024w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-tableheader-768x262.png 768w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-tableheader-1536x525.png 1536w\" sizes=\"(max-width: 1760px) 100vw, 1760px\" \/><\/p>\n<pre>\r\n    public function print_column_headers( $with_id = true ) {\r\n    list( $columns, $hidden, $sortable, $primary ) = $this->get_column_info();\r\n\r\n    $current_url = set_url_scheme( 'http:\/\/' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );\r\n    $current_url = remove_query_arg( 'paged', $current_url );\r\n\r\n    if ( isset( $_GET['orderby'] ) ) {\r\n        $current_orderby = $_GET['orderby'];\r\n    } else {\r\n        $current_orderby = '';\r\n    }\r\n\r\n    if ( isset( $_GET['order'] ) && 'desc' === $_GET['order'] ) {\r\n        $current_order = 'desc';\r\n    } else {\r\n        $current_order = 'asc';\r\n    }\r\n\r\n    if ( ! empty( $columns['cb'] ) ) {\r\n        static $cb_counter = 1;\r\n        $columns['cb']     = '<label class=\"label-covers-full-cell\" for=\"cb-select-all-' . $cb_counter . '\">' .\r\n        '<span class=\"screen-reader-text\">' .\r\n            __( 'Select All' ) .\r\n        '<\/span>' .\r\n        '<\/label>' .\r\n        '<input id=\"cb-select-all-' . $cb_counter . '\" type=\"checkbox\" \/>';\r\n        $cb_counter++;\r\n    }\r\n\r\n    foreach ( $columns as $column_key => $column_display_name ) {\r\n        $class          = array( 'manage-column', \"column-$column_key\" );\r\n        $aria_sort_attr = '';\r\n        $abbr_attr      = '';\r\n        $order_text     = '';\r\n\r\n        if ( in_array( $column_key, $hidden, true ) ) {\r\n        $class[] = 'hidden';\r\n        }\r\n\r\n        if ( 'cb' === $column_key ) {\r\n        $class[] = 'check-column';\r\n        } elseif ( in_array( $column_key, array( 'posts', 'comments', 'links' ), true ) ) {\r\n        $class[] = 'num';\r\n        }\r\n\r\n        if ( $column_key === $primary ) {\r\n        $class[] = 'column-primary';\r\n        }\r\n\r\n        if ( isset( $sortable[ $column_key ] ) ) {\r\n        $orderby       = isset( $sortable[ $column_key ][0] ) ? $sortable[ $column_key ][0] : '';\r\n        $desc_first    = isset( $sortable[ $column_key ][1] ) ? $sortable[ $column_key ][1] : false;\r\n        $abbr          = isset( $sortable[ $column_key ][2] ) ? $sortable[ $column_key ][2] : '';\r\n        $orderby_text  = isset( $sortable[ $column_key ][3] ) ? $sortable[ $column_key ][3] : '';\r\n        $initial_order = isset( $sortable[ $column_key ][4] ) ? $sortable[ $column_key ][4] : '';\r\n\r\n        if ( '' === $current_orderby && $initial_order ) {\r\n            $current_orderby = $orderby;\r\n            $current_order = $initial_order;\r\n        }\r\n\r\n        if ( $current_orderby === $orderby ) {\r\n            if ( 'asc' === $current_order ) {\r\n            $order          = 'desc';\r\n            $aria_sort_attr = ' aria-sort=\"ascending\"';\r\n            } else {\r\n            $order          = 'asc';\r\n            $aria_sort_attr = ' aria-sort=\"descending\"';\r\n            }\r\n\r\n            $class[] = 'sorted';\r\n            $class[] = $current_order;\r\n        } else {\r\n            $order = strtolower( $desc_first );\r\n\r\n            if ( ! in_array( $order, array( 'desc', 'asc' ), true ) ) {\r\n            $order = $desc_first ? 'desc' : 'asc';\r\n            }\r\n\r\n            $class[] = 'sortable';\r\n            $class[] = 'desc' === $order ? 'asc' : 'desc';\r\n\r\n            $asc_text = __( 'Sort ascending.' );\r\n            $desc_text  = __( 'Sort descending.' );\r\n            $order_text = 'asc' === $order ? $asc_text : $desc_text;\r\n        }\r\n\r\n        if ( '' !== $order_text ) {\r\n            $order_text = ' <span class=\"screen-reader-text\">' . $order_text . '<\/span>';\r\n        }\r\n\r\n        $abbr_attr = $abbr ? ' abbr=\"' . esc_attr( $abbr ) . '\"' : '';\r\n\r\n        $column_display_name = sprintf(\r\n            '<a href=\"%1$s\">' .\r\n            '<span>%2$s<\/span>' .\r\n            '<span class=\"sorting-indicators\">' .\r\n                '<span class=\"sorting-indicator asc\" aria-hidden=\"true\"><\/span>' .\r\n                '<span class=\"sorting-indicator desc\" aria-hidden=\"true\"><\/span>' .\r\n            '<\/span>' .\r\n            '%3$s' .\r\n            '<\/a>',\r\n            esc_url( add_query_arg( compact( 'orderby', 'order' ), $current_url ) ),\r\n            $column_display_name,\r\n            $order_text\r\n        );\r\n        }\r\n\r\n        $tag   = ( 'cb' === $column_key ) ? 'td' : 'th';\r\n        $scope = ( 'th' === $tag ) ? 'scope=\"col\"' : '';\r\n        $id    = $with_id ? \"id='$column_key'\" : '';\r\n\r\n        if ( ! empty( $class ) ) {\r\n        $class = \"class='\" . implode( ' ', $class ) . \"'\";\r\n        }\r\n\r\n        echo \"<$tag $scope $id $class $aria_sort_attr $abbr_attr>$column_display_name<\/$tag>\";\r\n    }\r\n    }\r\n<\/pre>\n<p>\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001\u300eget_column_info\u300f\u30e1\u30bd\u30c3\u30c9\u3067\u300e$_column_headers\u300f\u3068\u3044\u3046\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002<\/p>\n<p>\u300e$_column_headers\u300f\u306f\u300e$columns\u300f\u3001\u300e$hidden\u300f\u3001\u300e$sortable\u300f\u3001\u300e$primary\u300f\u3068\u3044\u3046 4 \u3064\u306e\u5024\u304c\u5165\u3063\u3066\u3044\u307e\u3059\u3002 <\/p>\n<p>\u300e$columns\u300f\u306f\u30ab\u30e9\u30e0\u5168\u4f53\u306e\u914d\u5217\u3001\u300e$hidden\u300f\u306f hidden \u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5024\u304b\u3089\u306a\u308b\u914d\u5217\u3001\u300e$sortable\u300f\u306f\u30bd\u30fc\u30c8\u53ef\u80fd\u306a\u30ab\u30e9\u30e0\u306e\u914d\u5217\u3001\u300e$primary\u300f\u306f\u30ab\u30e9\u30e0\u306e\u30b9\u30e9\u30c3\u30b0\u3068\u30bf\u30a4\u30c8\u30eb\u3067\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u300e$colums\u300f\u3092\u300eforeach\u300f\u3067\u56de\u3057\u3066\u300e&lt;th&gt;\u300f\u8981\u7d20\u3092\u751f\u6210\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"display_rows_or_placeholder_9\"><\/span>display_rows_or_placeholder() <sup>[<a href=\"#reference\">^9<\/a>]<\/sup><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u300edisplay_rows_or_placeholder()\u300f\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u6295\u7a3f\u306e\u30c6\u30fc\u30d6\u30eb\u3092\u63cf\u753b\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-rows.jpg\" alt=\"\" width=\"1584\" height=\"541\" class=\"aligncenter size-full wp-image-5963\" srcset=\"https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-rows.jpg 1584w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-rows-300x102.jpg 300w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-rows-1024x350.jpg 1024w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-rows-768x262.jpg 768w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-rows-1536x525.jpg 1536w\" sizes=\"(max-width: 1584px) 100vw, 1584px\" \/><\/p>\n<pre>\r\n    public function display_rows_or_placeholder() {\r\n        if ( $this->has_items() ) {\r\n        $this->display_rows();\r\n        } else {\r\n        echo '<tr class=\"no-items\"><td class=\"colspanchange\" colspan=\"' . $this->get_column_count() . '\">';\r\n        $this->no_items();\r\n        echo '<\/td><\/tr>';\r\n        }\r\n    }\r\n\r\n    public function display_rows() {\r\n        foreach ( $this->items as $item ) {\r\n        $this->single_row( $item );\r\n        }\r\n    }\r\n\r\n    public function single_row( $item ) {\r\n        echo '<tr>';\r\n        $this->single_row_columns( $item );\r\n        echo '<\/tr>';\r\n    }\r\n\r\n    protected function single_row_columns( $item ) {\r\n        list( $columns, $hidden, $sortable, $primary ) = $this->get_column_info();\r\n\r\n        foreach ( $columns as $column_name => $column_display_name ) {\r\n        $classes = \"$column_name column-$column_name\";\r\n        if ( $primary === $column_name ) {\r\n            $classes .= ' has-row-actions column-primary';\r\n        }\r\n\r\n        if ( in_array( $column_name, $hidden, true ) ) {\r\n            $classes .= ' hidden';\r\n        }\r\n\r\n        $data = 'data-colname=\"' . esc_attr( wp_strip_all_tags( $column_display_name ) ) . '\"';\r\n\r\n        $attributes = \"class='$classes' $data\";\r\n\r\n        if ( 'cb' === $column_name ) {\r\n            echo '<th scope=\"row\" class=\"check-column\">';\r\n            echo $this->column_cb( $item );\r\n            echo '<\/th>';\r\n        } elseif ( method_exists( $this, '_column_' . $column_name ) ) {\r\n            echo call_user_func(\r\n            array( $this, '_column_' . $column_name ),\r\n            $item,\r\n            $classes,\r\n            $data,\r\n            $primary\r\n            );\r\n        } elseif ( method_exists( $this, 'column_' . $column_name ) ) {\r\n            echo \"<td $attributes>\";\r\n            echo call_user_func( array( $this, 'column_' . $column_name ), $item );\r\n            echo $this->handle_row_actions( $item, $column_name, $primary );\r\n            echo '<\/td>';\r\n        } else {\r\n            echo \"<td $attributes>\";\r\n            echo $this->column_default( $item, $column_name );\r\n            echo $this->handle_row_actions( $item, $column_name, $primary );\r\n            echo '<\/td>';\r\n        }\r\n        }\r\n    }\r\n<\/pre>\n<p>\u3053\u3053\u3067\u306e\u91cd\u8981\u306a\u90e8\u5206\u306f\u300esingle_row_columns()\u300f\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u300eget_column_headers()\u300f\u30e1\u30bd\u30c3\u30c9\u306e\u3068\u304d\u3068\u540c\u69d8\u306b\u300eget_column_info()\u300f\u30e1\u30bd\u30c3\u30c9\u3067\u30ab\u30e9\u30e0\u306e\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066\u3001\u300ecolumns\u300f\u3092\u300eforeach\u300f\u3067\u56de\u3057\u3066\u751f\u6210\u3057\u3066\u3044\u307e\u3059\u3002 <\/p>\n<p>\u305d\u3057\u3066\u3001\u300ecolumn_$column_name()\u300f\u3068\u3044\u3046\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308c\u3070\u3001\u305d\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u4e2d\u8eab\u3092\u63cf\u753b\u3057\u307e\u3059\u3002\u7121\u3051\u308c\u3070\u3001\u300ecolumn_default()\u300f\u30e1\u30bd\u30c3\u30c9\u3067\u4e2d\u8eab\u3092\u63cf\u753b\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-column.png\" alt=\"\" width=\"1760\" height=\"601\" class=\"aligncenter size-full wp-image-5956\" srcset=\"https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-column.png 1760w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-column-300x102.png 300w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-column-1024x350.png 1024w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-column-768x262.png 768w, https:\/\/wpmake.jp\/contents\/wp-content\/uploads\/2023\/11\/post-list-column-1536x525.png 1536w\" sizes=\"(max-width: 1760px) 100vw, 1760px\" \/><\/p>\n<p>\u300eWP_List_Table\u300f\u30af\u30e9\u30b9\u3067\u306f\u3001\u5de6\u306e\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u90e8\u5206\u306e\u4f5c\u6210\u306b\u3001\u300ecolumn_cb()\u300f\u30e1\u30bd\u30c3\u30c9\u304c\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001\u6295\u7a3f\u4e00\u89a7\u3067\u306f\u3001\u300ecolumn_title()\u300f\u3084\u300ecolumn_comments()\u300f\u306a\u3069\u3082\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u8a73\u3057\u304f\u306f\u6b21\u56de\u8aac\u660e\u3057\u307e\u3059\u304c\u3001\u81ea\u5206\u3067\u300ecolumn_$column_name()\u300f\u3092\u5b9a\u7fa9\u3059\u308c\u3070\u3001\u7279\u5b9a\u306e\u30ab\u30e9\u30e0\u306e\u8868\u793a\u5185\u5bb9\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E3%81%BE%E3%81%A8%E3%82%81%E3%81%A8%E6%AC%A1%E5%9B%9E%E4%BA%88%E5%91%8A\"><\/span>\u307e\u3068\u3081\u3068\u6b21\u56de\u4e88\u544a<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>edit.php \u306e\u4e2d\u8eab\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u308b\u3068\u3001<\/p>\n<ul>\n<li>\u3069\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u30da\u30fc\u30b8\u306a\u306e\u304b\u306f\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570$typenow\u306e\u5024\u3092\u53d6\u5f97\u3057\u3066\u5224\u5b9a\u3057\u3066\u3044\u308b\u3002\u53d6\u5f97\u3067\u304d\u306a\u3051\u308c\u3070\u30a8\u30e9\u30fc\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u3002<\/li>\n<li>\u4e00\u89a7\u30da\u30fc\u30b8\u306e\u8868\u793a\u306b\u306fWP_List_Table\u30af\u30e9\u30b9\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3002 views()\u30e1\u30bd\u30c3\u30c9\u3067\u4f7f\u7528\u53ef\u80fd\u306a\u30d3\u30e5\u30fc\u306e\u30ea\u30b9\u30c8\u3001search_box()\u30e1\u30bd\u30c3\u30c9\u3067\u691c\u7d22\u30dc\u30c3\u30af\u30b9\u3001display\u30e1\u30bd\u30c3\u30c9\u3067\u30d7\u30eb\u30c0\u30a6\u30f3\u30ea\u30b9\u30c8\u3092\u542b\u3081\u305f\u30c6\u30fc\u30d6\u30eb\u5168\u4f53\u3092\u63cf\u753b\u3057\u3066\u3044\u308b\u3002\u3053\u306e 3 \u3064\u306e\u30e1\u30bd\u30c3\u30c9\u306e\u4e2d\u3067\u3082\u4ed6\u306e\u30e1\u30bd\u30c3\u30c9\u304c\u8907\u6570\u547c\u3070\u308c\u3066\u3044\u308b\u3002<\/li>\n<\/ul>\n<p>edit.php \u304c\u3069\u306e\u3088\u3046\u306b\u30da\u30fc\u30b8\u3092\u8868\u793a\u3057\u3066\u3044\u308b\u304b\u306f\u308f\u304b\u3063\u305f\u306e\u3067\u3001\u6b21\u56de\u306f\u4e00\u89a7\u30da\u30fc\u30b8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h2 id=\"refarence\"><span class=\"ez-toc-section\" id=\"%E5%8F%82%E8%80%83%E8%A8%98%E4%BA%8B\"><\/span>\u53c2\u8003\u8a18\u4e8b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ol>\n<li>\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\/register post type\uff08\u203b\u53c2\u8003\u306b\u3057\u305fWordPress\u65e5\u672c\u8a9e\u7248Codex\u30b5\u30a4\u30c8\u304c\u6d88\u3048\u305f\u305f\u3081\u30ea\u30f3\u30af\u89e3\u9664\uff09<\/li>\n<li>\u6295\u7a3f\u4e00\u89a7\u30da\u30fc\u30b8\uff08\u203b\u53c2\u8003\u306b\u3057\u305fWordPress\u65e5\u672c\u8a9e\u7248Codex\u30b5\u30a4\u30c8\u304c\u6d88\u3048\u305f\u305f\u3081\u30ea\u30f3\u30af\u89e3\u9664\uff09<\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_list_table\/views\/\" rel=\"noopener\" target=\"_blank\"> WP_List_Table::views() <\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_list_table\/search_box\/\" rel=\"noopener\" target=\"_blank\"> WP_List_Table::search_box() <\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_list_table\/display\/\" rel=\"noopener\" target=\"_blank\"> WP_List_Table::display() <\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_list_table\/display\/\" rel=\"noopener\" target=\"_blank\"> WP_List_Table::display_tablenav() <\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_list_table\/bulk_actions\/\" rel=\"noopener\" target=\"_blank\"> WP_List_Table::bulk_actions() <\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_list_table\/print_column_headers\/\" rel=\"noopener\" target=\"_blank\"> WP_List_Table::print_column_headers() <\/a><\/li>\n<li> <a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_list_table\/display_rows_or_placeholder\/\" rel=\"noopener\" target=\"_blank\"> WP_List_Table::display_or_placeholder() <\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u6295\u7a3f\u4e00\u89a7\u3084\u56fa\u5b9a\u30da\u30fc\u30b8\u4e00\u89a7\u3092\u8868\u793a\u3057\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u3067\u3042\u308bedit.php\u306e\u4e2d\u8eab\u306e\u89e3\u8aac\u3068\u3001\u305d\u308c\u3092\u77e5\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u4f55\u304c\u51fa\u6765\u308b\u304b\u306e\u89e3\u8aac\u3002\u4eca\u56de\u306f\u524d\u7de8\u3068\u3057\u3066\u3001\u4e2d\u8eab\u306e\u89e3\u8aac\u3092\u884c\u3063\u305f\u3082\u306e\u3002<\/p>\n","protected":false},"author":1,"featured_media":6810,"parent":0,"menu_order":0,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[],"class_list":["post-5939","customize","type-customize","status-publish","format-standard","has-post-thumbnail","hentry"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/wpmake.jp\/contents\/wp-json\/wp\/v2\/customize\/5939"}],"collection":[{"href":"https:\/\/wpmake.jp\/contents\/wp-json\/wp\/v2\/customize"}],"about":[{"href":"https:\/\/wpmake.jp\/contents\/wp-json\/wp\/v2\/types\/customize"}],"author":[{"embeddable":true,"href":"https:\/\/wpmake.jp\/contents\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":8,"href":"https:\/\/wpmake.jp\/contents\/wp-json\/wp\/v2\/customize\/5939\/revisions"}],"predecessor-version":[{"id":6836,"href":"https:\/\/wpmake.jp\/contents\/wp-json\/wp\/v2\/customize\/5939\/revisions\/6836"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpmake.jp\/contents\/wp-json\/wp\/v2\/media\/6810"}],"wp:attachment":[{"href":"https:\/\/wpmake.jp\/contents\/wp-json\/wp\/v2\/media?parent=5939"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmake.jp\/contents\/wp-json\/wp\/v2\/categories?post=5939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}