2019-03-01から1日間の記事一覧

wordpress エラーログ出力

.htaccessに以下の1行を追加 php_flag display_errors On # BEGIN WordPress パーマリンク <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /inde</ifmodule>…

wordpress フィルターフック 調査方法

フィルターフックとは? 定義 フィルターは、WordPress が様々な種類のテキストをデータベースまたはブラウザ画面へ送信する前に、それを変更できます。プラグインは、フィルター API を利用して、指定したテキストをその時点で変更する PHP 関数を実行できま…