plugin-icon

PHP Code Widget

제작자: Samuel Wood (Otto)·
Like the Text widget, but also allows working PHP code to be inserted.
등급
4.7/5
버전
2.4
활성화된 설치 항목
90K
최근 업데이트일
Mar 30, 2022

The normal Text widget allows you to insert arbitrary Text and/or HTML code. This allows that too, but also parses any PHP code in the text widget and executes it.

This can make it easier to migrate to a widget-based theme. However, this plugin should not be used long term, as anybody with access to edit the widgets on your site will be able to execute arbitrary PHP code.

All PHP code must be enclosed in the standard php opening and closing tags ( <?php and ?> ) for it to be recognized and executed.

Only users with the unfiltered_html role will be allowed to insert unfiltered HTML. This includes PHP code, so users without admin or editor permissions will not be able to use this to execute code, even if they have widget editing permissions.

무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 5.9.12
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.