// フィルタの登録
add_filter(‘content_save_pre’,’test_save_pre’);
function test_save_pre($content){
global $allowedposttags;
// iframeとiframeで使える属性を指定する
$allowedposttags[‘iframe’] = array(‘class’ => array () , ‘src’=>array() , ‘width’=>array(),
‘height’=>array() , ‘frameborder’ => array() , ‘scrolling’=>array(),’marginheight’=>array(),
‘marginwidth’=>array());
return $content;
こちらのコードをfunctions.phpに追加したら
Parse error: syntax error, unexpected $end in /home/users/2/verse.jp-footwall/web/wp-content/themes/simplicity2-child/functions.php on line 25
のようにエラーになってしまい、ログインができなくなりました。
どうしたらいいのか教えてください。よろしくお願いします。