ຄຳອະທິບາຍ
You may have some obscure reason for wanting the output that is sent by the_content() and get_the_content() to be simple HTML, free of the more exotic tags and objects. It may be for post aggregators or email notifications or some other edge case. This is for you!
ການຕິດຕັ້ງ
- Upload the
remove-html-from-contentfolder to the/wp-content/plugins/directory - Navigate to wp-admin/plugins.php on your site (your WP plugin page)
- Alternatively, upload
remove-html-from-content.zipvia the upload plugin section at wp-admin/plugins.php - Activate this plugin.
OR you can just install it with WordPress by going to Plugins >> Add New >> and typing Remove HTML From Content
ຄຳຖາມທີ່ພົບເລື້ອຍ
-
Will it do all content?
-
Just that which runs through the_content() and get_the_content() but you can add your own filters with
add_action( 'FILTER_NAME', [__CLASS__, 'do_filter'], 0 );
Or calling the conversion directly with
$text = Remove_Html_From_Content::do_filter($html);
ການຣີວິວ
ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ
“Remove HTML From Content” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການພັດທະນາປລັກອິນນີ້.
ຜູ້ຮ່ວມພັດທະນາແປ “Remove HTML From Content” ເປັນພາສາຂອງເຈົ້າ.
ສົນໃຈຮ່ວມພັດທະນາບໍ່?
ເບິ່ງລະຫັດ, ກວດເບິ່ງ ຄັງເກັບ SVN, ຫຼື ຕິດຕາມ ບັນທຶກການພັດທະນາ ຜ່ານ RSS.
ບັນທຶກການປ່ຽນແປງ
1.0.1
- Minor updates after six years
1.0.0
- Initial release