{"id":136,"date":"2015-08-05T13:54:17","date_gmt":"2015-08-05T04:54:17","guid":{"rendered":"http:\/\/nendeb.com\/?p=136"},"modified":"2015-10-25T14:18:51","modified_gmt":"2015-10-25T05:18:51","slug":"wordpress-%e3%83%a6%e3%83%bc%e3%82%b6%e3%83%bc%e3%81%94%e3%81%a8%e3%81%ab%e6%8a%95%e7%a8%bf%e6%95%b0%e3%82%92%e5%88%b6%e9%99%90%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/nendeb.com\/136","title":{"rendered":"WordPress \u30e6\u30fc\u30b6\u30fc\u3054\u3068\u306b\u6295\u7a3f\u6570\u3092\u5236\u9650\u3059\u308b"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/nendeb.com\/wp-content\/uploads\/main_userlimit.png\" alt=\"main_userlimit\" width=\"800\" height=\"400\" class=\"alignnone size-full wp-image-199\" \/><br \/>\n\u8a18\u4e8b\u3092\u6295\u7a3f\u3067\u304d\u308b\u30a2\u30ab\u30a6\u30f3\u30c8( \u4e3b\u306b\u300c\u6295\u7a3f\u8005\u300d\u3068\u3057\u3066 )\u3092\u8907\u6570\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u6e21\u3057\u3066\u3044\u308b\u304c\u3001\u305d\u308c\u305e\u308c\u306e\u6295\u7a3f\u6570\u306e\u4e0a\u9650\u3092\u8a2d\u5b9a\u3057\u305f\u3044\u3063\u3066\u8a00\u308f\u308c\u305f\u4e8b\u3042\u308a\u307e\u305b\u3093\u304b?<br \/>\n\u305d\u3093\u306a\u6642\u306f\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092 <a href=\"http:\/\/nendeb.com\/1\" target=\"blank\">my-plugin.php<\/a> \u306b\u5f35\u308a\u4ed8\u3051\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3000<\/p>\n<p>\u7ba1\u7406\u8005\u306f\u300c\u6295\u7a3f\u8005\u300d\u300c\u5bc4\u7a3f\u8005\u300d\u300c\u7de8\u96c6\u8005\u300d\u306e\u30e6\u30fc\u30b6\u30fc\u3054\u3068\u306b\u6295\u7a3f\u6570\u306e\u4e0a\u9650\u3092\u8a2d\u5b9a\u3057\u3066\u3001\u4e0a\u9650\u306b\u306a\u308b\u3068\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3057\u3066\u300c\u65b0\u898f\u6295\u7a3f\u300d\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/nendeb.com\/wp-content\/uploads\/post_limit9.png\" alt=\"post_limit9\" width=\"783\" height=\"171\" class=\"alignnone size-full wp-image-144\" \/><br \/>\n\u6295\u7a3f\u6570\u306b\u30ab\u30a6\u30f3\u30c8\u3055\u308c\u308b\u306e\u306f\u300c\u516c\u958b\u6e08\u307f\u300d\u300c\u4e0b\u66f8\u304d\u300d\u300c\u975e\u516c\u958b\u300d\u300c\u30ec\u30d3\u30e5\u30fc\u5f85\u3061 (\u4fdd\u7559\u4e2d)\u300d\u300c\u30b4\u30df\u7bb1\u300d\u300c\u4e88\u7d04\u6295\u7a3f \u300d\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000<br \/>\n\u3000<\/p>\n<h2>\u30b3\u30fc\u30c9<\/h2>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nif ( !class_exists( 'Nendebcom_Posts_Limit_Over_Warning' ) ):\r\n\r\n\t\/*\r\n\t * \u6295\u7a3f\u6570\u5236\u9650\r\n\t * @package WordPress4.2\r\n\t *\r\n\t * License: GPLv2 or later\r\n\t *\/\r\n\r\n\tclass Nendebcom_Posts_Limit_Over_Warning {\r\n\r\n\t\tprivate $default_posted_upper_limit = 10; \/\/\u6700\u5927\u6295\u7a3f\u6570(\u30c7\u30d5\u30a9\u30eb\u30c8)\r\n\r\n\t\tpublic function __construct() {\r\n\t\t\tadd_action( 'admin_init', array( $this, 'posts_limit_over_warning' ) );\r\n\r\n\t\t\tadd_action( 'personal_options_update', array( $this, 'save_post_limit_profile_fields' ) ); \/\/My Profile Update.\r\n\t\t\tadd_action( 'edit_user_profile_update', array( $this, 'save_post_limit_profile_fields' ) ); \/\/Other Users Profile Update.\r\n\t\t\tadd_action( 'personal_options', array( $this, 'add_post_limit_profile_fields' ) );  \/\/Add Post limit in User Profile Fields.\r\n\t\t}\r\n\r\n\t\tpublic function posts_limit_over_warning() {\r\n\r\n\t\t\tglobal $wpdb;\r\n\t\t\tglobal $pagenow;\r\n\t\t\tglobal $user_ID; \/\/\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fcID\r\n\r\n\t\t\tglobal $current_user;\r\n\r\n\t\t\tif ( $user_ID &amp;&amp; isset( $current_user-&gt;roles[ 0 ] ) &amp;&amp; ( $current_user-&gt;roles[ 0 ] == 'contributor' \/\/contributor \u5bc4\u7a3f\u8005\r\n\t\t\t|| $current_user-&gt;roles[ 0 ] == 'author'  \/\/author \u6295\u7a3f\u8005\r\n\t\t\t|| $current_user-&gt;roles[ 0 ] == 'editor'  \/\/editor \u7de8\u96c6\u8005\r\n\t\t\t)\r\n\t\t\t) {\r\n\r\n\t\t\t\t$sql  = &quot;SELECT COUNT(*)&quot;;\r\n\t\t\t\t$sql .= &quot; FROM $wpdb-&gt;posts AS P&quot;;\r\n\t\t\t\t$sql .= &quot; WHERE &quot;;\r\n\t\t\t\t$sql .= &quot; (  P.post_status='publish'&quot;;  \/\/\u516c\u958b\u6e08\u307f \r\n\t\t\t\t$sql .= &quot; OR P.post_status='draft'&quot;;  \/\/\u4e0b\u66f8\u304d \r\n\t\t\t\t$sql .= &quot; OR P.post_status='private'&quot;;  \/\/\u975e\u516c\u958b\r\n\t\t\t\t$sql .= &quot; OR P.post_status='pending'&quot;;  \/\/\u30ec\u30d3\u30e5\u30fc\u5f85\u3061 (\u4fdd\u7559\u4e2d)\r\n\t\t\t\t$sql .= &quot; OR P.post_status='trash'&quot;;  \/\/\u30b4\u30df\u7bb1\r\n\t\t\t\t$sql .= &quot; OR P.post_status='future'&quot;;  \/\/\u4e88\u7d04\u6295\u7a3f \r\n\t\t\t\t\/\/$sql .= &quot; OR P.post_status='attachment'&quot;;\t\/\/\r\n\t\t\t\t\/\/$sql .= &quot; OR P.post_status='inherit'&quot;;\t\/\/\u7d99\u627f\uff08\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3001\u6539\u8a02\u5c65\u6b74\u30fb\u81ea\u52d5\u4fdd\u5b58\u306e\u3068\u304d\uff09 \r\n\t\t\t\t$sql .= &quot; )&quot;;\r\n\t\t\t\t$sql .= &quot; AND P.post_type ='post' &quot;;\r\n\t\t\t\t$sql .= $wpdb-&gt;prepare( ' AND P.post_author = %d', $user_ID );\r\n\t\t\t\t$post_count\t = $wpdb-&gt;get_var( $sql );\r\n\r\n\t\t\t\t\/\/\u30e6\u30fc\u30b6\u30fc\u306e\u6700\u5927\u6295\u7a3f\u6570\r\n\t\t\t\t$posted_upper_limit = get_user_meta( $user_ID, 'user_post_limit', true );\r\n\t\t\t\tif ( $posted_upper_limit == '' ) {\r\n\t\t\t\t\t$posted_upper_limit = $this-&gt;default_posted_upper_limit;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif ( $posted_upper_limit != 0 &amp;&amp; $post_count &gt;= $posted_upper_limit ) {\r\n\r\n\t\t\t\t\t\/\/\u7269\u4ef6\u65b0\u898f\u767b\u9332\u30da\u30fc\u30b8\u3092\u975e\u8868\u793a\r\n\t\t\t\t\tif ( !isset( $_GET[ 'post_type' ] ) &amp;&amp; $pagenow == 'post-new.php' ) {\r\n\t\t\t\t\t\twp_die( '\u6295\u7a3f\u306e\u65b0\u898f\u767b\u9332\u306f\u3067\u304d\u307e\u305b\u3093\u3002' );\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\/\/\u7ba1\u7406\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u6295\u7a3f\u306e\u300c\u65b0\u898f\u8ffd\u52a0\u300d\u3092\u524a\u9664\r\n\t\t\t\t\tglobal $submenu;\r\n\t\t\t\t\tunset( $submenu[ 'edit.php' ][ 10 ] ); \/\/ \u65b0\u898f\u8ffd\u52a0\r\n\t\t\t\t\t\/\/\u304a\u77e5\u3089\u305b \u6295\u7a3f\u4e00\u89a7\u3068\u6295\u7a3f\u7de8\u96c6\u30da\u30fc\u30b8\u3067\u8868\u793a\r\n\t\t\t\t\tif ( $pagenow == 'edit.php' || $pagenow == 'post.php' ) {\r\n\t\t\t\t\t\tadd_action( 'admin_notices', array( $this, 'post_over_notices' ) );\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\/\/\u30d8\u30c3\u30c0\u306e\u300c+\u65b0\u898f\u300d\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u304b\u3089\uff3b\u6295\u7a3f\uff3d\u3092\u524a\u9664\r\n\t\t\t\t\tadd_action( 'admin_bar_menu', array( $this, 'remove_admin_bar_menu' ), 202 );\r\n\r\n\t\t\t\t\t\/\/\u6295\u7a3f\u4e00\u89a7\u30da\u30fc\u30b8\u3067 h1\u30bf\u30a4\u30c8\u30eb \u6a2a\u306e\uff3b\u65b0\u898f\u8ffd\u52a0\uff3d\u30dc\u30bf\u30f3\u3092\u975e\u8868\u793a CSS\r\n\t\t\t\t\tadd_action( 'admin_print_styles-edit.php', array( $this, 'edit_post_page_style' ), 90 );\r\n\r\n\t\t\t\t\t\/\/\u6295\u7a3f\u7de8\u96c6\u30da\u30fc\u30b8\u3067 h1\u30bf\u30a4\u30c8\u30eb \u6a2a\u306e\u300c\u7269\u4ef6\u767b\u9332\u300d\u30dc\u30bf\u30f3\u3092\u975e\u8868\u793a CSS\r\n\t\t\t\t\tadd_action( 'admin_print_styles-post.php', array( $this, 'edit_post_page_style' ) );\r\n\r\n\t\t\t\t\t\/\/remove a button in the post\/page edit screen to create a clone\r\n\t\t\t\t\tremove_action( 'post_submitbox_start', 'duplicate_post_add_duplicate_post_button' );\r\n\r\n\t\t\t\t\t\/\/remove the link to action list for post_row_actions\r\n\t\t\t\t\tremove_filter( 'post_row_actions', 'duplicate_post_make_duplicate_link_row', 10, 2 );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t\/**\r\n\t\t * Save Post limit in User Profile Fields.\r\n\t\t *\r\n\t\t * @param int $user_id\r\n\t\t *\/\r\n\t\tpublic function save_post_limit_profile_fields( $user_id ) {\r\n\t\t\tglobal $current_user;\r\n\t\t\tif ( $current_user-&gt;roles[ 0 ] == 'administrator' ) { \/\/administrator \u7ba1\u7406\u8005\r\n\t\t\t\t$num = isset( $_POST[ 'user_post_limit' ] ) ? $_POST[ 'user_post_limit' ] : '';\r\n\t\t\t\tif ( !preg_match( &quot;\/^[0-9]+$\/&quot;, $num ) ) {\r\n\t\t\t\t\t$num = '';\r\n\t\t\t\t}\r\n\t\t\t\tupdate_user_meta( $user_id, 'user_post_limit', $num, get_user_meta( $user_id, 'user_post_limit', true ) );\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t\/**\r\n\t\t * Add Post limit in User Profile Fields.\r\n\t\t *\r\n\t\t * @param array $profileuser\r\n\t\t *\/\r\n\t\tpublic function add_post_limit_profile_fields( $profileuser ) {\r\n\t\t\tglobal $current_user;\r\n\t\t\tif ( $current_user-&gt;roles[ 0 ] == 'administrator' ) { \/\/administrator \u7ba1\u7406\u8005\r\n\t\t\t\techo '&lt;tr&gt;';\r\n\t\t\t\techo '&lt;th scope=&quot;row&quot;&gt;\u6295\u7a3f\u6570\u5236\u9650&lt;\/th&gt;';\r\n\t\t\t\techo '&lt;td&gt;\u6700\u5927\u6295\u7a3f\u6570 &lt;input type=&quot;number&quot; name=&quot;user_post_limit&quot; size=&quot;4&quot; value=&quot;' . get_user_meta( $profileuser-&gt;ID, 'user_post_limit', true ) . '&quot; \/&gt;\u4ef6\u3000( \u7a7a\u6b04: \u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3000\u30000:\u7121\u5236\u9650\u3002) &lt;\/td&gt;';\r\n\t\t\t\techo '&lt;\/tr&gt;';\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t\/**\r\n\t\t * \u304a\u77e5\u3089\u305b\r\n\t\t *\/\r\n\t\tpublic function post_over_notices() {\r\n\t\t\tif ( in_array( $GLOBALS[ 'current_screen' ]-&gt;post_type, array( 'post' ) ) ) {\r\n\t\t\t\techo '&lt;div class=&quot;error&quot; style=&quot;text-align: center;&quot;&gt;&lt;p&gt;\u8a2d\u5b9a\u306e\u6295\u7a3f\u6570\u306b\u9054\u3057\u307e\u3057\u305f\u3002 \u6295\u7a3f\u306e\u65b0\u898f\u767b\u9332\u306f\u3067\u304d\u307e\u305b\u3093\u3002&lt;\/p&gt;&lt;\/div&gt;';\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t\/**\r\n\t\t * \u30d8\u30c3\u30c0\u306e\u300c+\u65b0\u898f\u300d\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u304b\u3089\uff3b\u6295\u7a3f\uff3d\u3092\u524a\u9664\r\n\t\t *\/\r\n\t\tpublic function remove_admin_bar_menu( $wp_admin_bar ) {\r\n\t\t\t$wp_admin_bar-&gt;remove_menu( 'new-post' );\r\n\t\t}\r\n\r\n\t\t\/**\r\n\t\t * \u6295\u7a3f\u4e00\u89a7\/\u6295\u7a3f\u7de8\u96c6\u30da\u30fc\u30b8\u3067 h1\u30bf\u30a4\u30c8\u30eb \u6a2a\u306e\uff3b\u65b0\u898f\u8ffd\u52a0\uff3d\u30dc\u30bf\u30f3\u3092\u975e\u8868\u793a CSS\r\n\t\t *\/\r\n\t\tpublic function edit_post_page_style() {\r\n\t\t\tif ( in_array( $GLOBALS[ 'current_screen' ]-&gt;post_type, array( 'post' ) ) ) {\r\n\t\t\t\t?&gt;\r\n\t\t\t\t&lt;style type=&quot;text\/css&quot;&gt;\r\n\t\t\t\t\t#wpbody .wrap h1 &gt; a.page-title-action{ display:none; }\r\n\t\t\t\t&lt;\/style&gt;\r\n\t\t\t\t&lt;?php\r\n\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}\r\n\r\n\tif ( is_admin() ) {\r\n\t\tnew Nendebcom_Posts_Limit_Over_Warning();\r\n\t}\r\nendif;\r\n<\/pre>\n<p>\u3000<\/p>\n<h2>\u521d\u671f\u5024<\/h2>\n<p>\u4ee5\u4e0b\u306e\u5024\u3092\u5229\u7528\u3059\u308b\u74b0\u5883\u306b\u3042\u308f\u305b\u3066\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u6700\u5927\u6295\u7a3f\u6570(\u30c7\u30d5\u30a9\u30eb\u30c8)<\/h3>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nprivate $default_posted_upper_limit = 10;\t\/\/\u6700\u5927\u6295\u7a3f\u6570(\u30c7\u30d5\u30a9\u30eb\u30c8)\r\n<\/pre>\n<p>\u3000\u5404\u30e6\u30fc\u30b6\u30fc\u3054\u3068\u306e\u6700\u5927\u6295\u7a3f\u6570\u3092\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f \u3053\u3053\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000<br \/>\n<br \/>\n\u3000<\/p>\n<h2>\u753b\u9762\u8aac\u660e<\/h2>\n<h3>\u30e6\u30fc\u30b6\u30fc\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u753b\u9762<\/h3>\n<p>\u901a\u5e38\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3067\u3059\u304c\u3001\u30e6\u30fc\u30b6\u30fc\u3054\u3068\u306b\u6295\u7a3f\u6570\u306e\u4e0a\u9650\u3092\u5909\u66f4\u3059\u308b\u4e8b\u3082\u3067\u304d\u307e\u3059\u3002<br \/>\n\u5404\u30e6\u30fc\u30b6\u30fc\u306e\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u753b\u9762\u3067\u306f \u6700\u5927\u6295\u7a3f\u6570\u306e\u8a2d\u5b9a\u306f \u7ba1\u7406\u8005\u3060\u3051\u304c\u8868\u793a\u3055\u308c\u3001\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/nendeb.com\/wp-content\/uploads\/post_limit7.png\" alt=\"\u30e6\u30fc\u30b6\u30fc\u7de8\u96c6\" width=\"974\" height=\"289\" class=\"alignnone size-full wp-image-145\" \/><\/p>\n<h3>\u6295\u7a3f\u4e00\u89a7<\/h3>\n<p>\u5404\u30e6\u30fc\u30b6\u30fc\u306f\u6295\u7a3f\u6570\u306e\u4e0a\u9650\u306b\u9054\u3059\u308b\u3068 \u30d8\u30c3\u30c0\u30fc\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u3066\u300c\u65b0\u898f\u8ffd\u52a0\u300d\u306e\u30dc\u30bf\u30f3\u304c\u306a\u304f\u306a\u308a\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/nendeb.com\/wp-content\/uploads\/post_limit4.png\" alt=\"\u6295\u7a3f\u4e00\u89a7\" width=\"1286\" height=\"188\" class=\"alignnone size-full wp-image-139\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/nendeb.com\/wp-content\/uploads\/post_limit1.png\" alt=\"\u6295\u7a3f\u4e00\u89a7 \u5236\u9650\u4e2d\" width=\"1285\" height=\"217\" class=\"alignnone size-full wp-image-137\" \/><\/p>\n<h3>\u6295\u7a3f\u7de8\u96c6<\/h3>\n<p>\u6295\u7a3f\u6570\u306e\u4e0a\u9650\u306b\u9054\u3059\u308b\u3068 \u30d8\u30c3\u30c0\u30fc\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u3066\u300c\u65b0\u898f\u8ffd\u52a0\u300d\u306e\u30dc\u30bf\u30f3\u304c\u306a\u304f\u306a\u308a\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/nendeb.com\/wp-content\/uploads\/post_limit6.png\" alt=\"\u6295\u7a3f\u7de8\u96c6\" width=\"1283\" height=\"217\" class=\"alignnone size-full wp-image-141\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/nendeb.com\/wp-content\/uploads\/post_limit3.png\" alt=\"\u6295\u7a3f\u7de8\u96c6 \u5236\u9650\u4e2d\" width=\"1285\" height=\"190\" class=\"alignnone size-full wp-image-138\" \/><\/p>\n<h3>\u30e1\u30cb\u30e5\u30fc<\/h3>\n<p>\u6295\u7a3f\u6570\u306e\u4e0a\u9650\u306b\u9054\u3059\u308b\u3068\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u306e\u300c\u65b0\u898f\u8ffd\u52a0\u300d\u306e\u30ea\u30f3\u30af\u3068 \u30d8\u30c3\u30c0\u30fc\u300c+\u65b0\u898f\u300d\u306e\u30d7\u30eb\u30c0\u30a6\u30f3\u90e8\u5206\u306e\u300c\u6295\u7a3f\u300d\u30ea\u30f3\u30af\u304c\u306a\u304f\u306a\u308a\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/nendeb.com\/wp-content\/uploads\/post_limit5.png\" alt=\"\u65b0\u898f\u6295\u7a3f\u30e1\u30cb\u30e5\u30fc\" width=\"725\" height=\"241\" class=\"alignnone size-full wp-image-140\" \/><\/p>\n<h3>\u65b0\u898f\u6295\u7a3f<\/h3>\n<p>\u65b0\u898f\u6295\u7a3f\u304c\u5236\u9650\u3055\u308c\u308b\u3068\u65b0\u898f\u6295\u7a3f\u306e\u30da\u30fc\u30b8\u3078\u884c\u3063\u3066\u3082\u6295\u7a3f\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/nendeb.com\/wp-content\/uploads\/post_limit8.png\" alt=\"post_limit8\" width=\"829\" height=\"165\" class=\"alignnone size-full wp-image-143\" \/><\/p>\n<p>\u203b\u4eca\u56de\u306f\u6295\u7a3f\u6570\u5236\u9650\u3059\u308b\u90e8\u5206\u3060\u3051\u8aac\u660e\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3000<br \/>\n\u3000<\/p>\n<h2>\u53c2\u8003<\/h2>\n<p>WordPress Codex \u30e6\u30fc\u30b6\u30fc\u306e\u7a2e\u985e\u3068\u6a29\u9650<br \/>\n<a href=\"http:\/\/wpdocs.osdn.jp\/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%81%AE%E7%A8%AE%E9%A1%9E%E3%81%A8%E6%A8%A9%E9%99%90\" target=\"_blank\"  rel=\"noopener nofollow\">http:\/\/wpdocs.osdn.jp\/\u30e6\u30fc\u30b6\u30fc\u306e\u7a2e\u985e\u3068\u6a29\u9650<\/a><\/p>\n<p>WordPress Codex\u3000Plugin API\/Action Reference\/admin init<br \/>\n<a href=\"http:\/\/codex.wordpress.org\/Plugin_API\/Action_Reference\/admin_init\" target=\"_blank\"  rel=\"noopener nofollow\">http:\/\/codex.wordpress.org\/Plugin_API\/Action_Reference\/admin_init<\/a><\/p>\n<p>WordPress Codex\u3000Plugin API\/Action Reference\/personal options update<br \/>\n<a href=\"https:\/\/codex.wordpress.org\/Plugin_API\/Action_Reference\/personal_options_update\" target=\"_blank\"  rel=\"noopener nofollow\">https:\/\/codex.wordpress.org\/Plugin_API\/Action_Reference\/personal_options_update<\/a><\/p>\n<p>WordPress Codex\u3000Plugin API\/Action Reference\/edit user profile update<br \/>\n<a href=\"https:\/\/codex.wordpress.org\/Plugin_API\/Action_Reference\/edit_user_profile_update\" target=\"_blank\"  rel=\"noopener nofollow\">https:\/\/codex.wordpress.org\/Plugin_API\/Action_Reference\/edit_user_profile_update<\/a><\/p>\n<p>WordPress Codex\u3000Plugin API\/Action Reference\/personal options<br \/>\n<a href=\"https:\/\/codex.wordpress.org\/Plugin_API\/Action_Reference\/personal_options\" target=\"_blank\"  rel=\"noopener nofollow\">https:\/\/codex.wordpress.org\/Plugin_API\/Action_Reference\/personal_options<\/a><\/p>\n<p>WordPress Codex\u3000Plugin API\/Action Reference\/admin notices<br \/>\n<a href=\"https:\/\/codex.wordpress.org\/Plugin_API\/Action_Reference\/admin_notices\" target=\"_blank\"  rel=\"noopener nofollow\">https:\/\/codex.wordpress.org\/Plugin_API\/Action_Reference\/admin_notices<\/a><\/p>\n<p>WordPress Code Reference do_action ( &#8220;admin_print_styles-{$hook_suffix}&#8221; )<br \/>\n<a href=\"https:\/\/developer.wordpress.org\/reference\/hooks\/admin_print_styles-hook_suffix\/\" target=\"_blank\"  rel=\"noopener nofollow\">https:\/\/developer.wordpress.org\/reference\/hooks\/admin_print_styles-hook_suffix\/<\/a><\/p>\n<p><!--\nadmin_init,personal_options_update,edit_user_profile_update,personal_options,admin_notices,admin_print_styles-{$hook_suffix}\n--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8a18\u4e8b\u3092\u6295\u7a3f\u3067\u304d\u308b\u30a2\u30ab\u30a6\u30f3\u30c8( \u4e3b\u306b\u300c\u6295\u7a3f\u8005\u300d\u3068\u3057\u3066 )\u3092\u8907\u6570\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u6e21\u3057\u3066\u3044\u308b\u304c\u3001\u305d\u308c\u305e\u308c\u306e\u6295\u7a3f\u6570\u306e\u4e0a\u9650\u3092\u8a2d\u5b9a\u3057\u305f\u3044\u3063\u3066\u8a00\u308f\u308c\u305f\u4e8b\u3042\u308a\u307e\u305b\u3093\u304b? \u305d\u3093\u306a\u6642\u306f\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092 my-plugin.php \u306b\u5f35\u308a\u4ed8\u3051\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002 \u3000 \u7ba1\u7406\u8005\u306f\u300c\u6295\u7a3f\u8005\u300d\u300c\u5bc4\u7a3f\u8005\u300d\u300c\u7de8\u96c6\u8005\u300d\u306e\u30e6\u30fc\u30b6\u30fc\u3054\u3068\u306b\u6295\u7a3f\u6570\u306e\u4e0a\u9650\u3092\u8a2d\u5b9a&hellip;<\/p>\n","protected":false},"author":1,"featured_media":199,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[32,36,14,34,35,33],"class_list":["post-136","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-admin_init","tag-admin_notices","tag-admin_print_styles-hook_suffix","tag-edit_user_profile_update","tag-personal_options","tag-personal_options_update"],"jetpack_featured_media_url":"https:\/\/nendeb.com\/wp-content\/uploads\/main_userlimit.png","_links":{"self":[{"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/posts\/136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/comments?post=136"}],"version-history":[{"count":0,"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/posts\/136\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/media\/199"}],"wp:attachment":[{"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/media?parent=136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/categories?post=136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nendeb.com\/wp-json\/wp\/v2\/tags?post=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}