{"id":1792,"date":"2019-03-04T00:11:33","date_gmt":"2019-03-03T22:11:33","guid":{"rendered":"https:\/\/tulipeo-tulipemedia.pf28.wpserveur.net\/?p=1792"},"modified":"2025-05-15T17:59:43","modified_gmt":"2025-05-15T15:59:43","slug":"buddypress-%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%a5%d8%b2%d8%a7%d9%84%d8%a9-%d8%a7%d9%84%d9%86%d8%b5-%d8%a7%d9%84%d9%85%d9%86%d8%b3%d9%82-%d9%81%d9%8a-%d9%85%d9%86%d8%b7%d9%82%d8%a9-%d8%a7%d9%84%d9%86","status":"publish","type":"post","link":"https:\/\/tulipemedia.com\/ar\/buddypress-%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%a5%d8%b2%d8%a7%d9%84%d8%a9-%d8%a7%d9%84%d9%86%d8%b5-%d8%a7%d9%84%d9%85%d9%86%d8%b3%d9%82-%d9%81%d9%8a-%d9%85%d9%86%d8%b7%d9%82%d8%a9-%d8%a7%d9%84%d9%86\/","title":{"rendered":"BuddyPress: \u0643\u064a\u0641\u064a\u0629 \u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0646\u0635 \u0627\u0644\u0645\u0646\u0633\u0642 \u0641\u064a \u0645\u0646\u0637\u0642\u0629 \u0627\u0644\u0646\u0635 xprofile"},"content":{"rendered":"<p>Here is a little trick for BuddyPress to remove the rich text functionnalities of the editor from the xProfile text areas, like bio field for example. Add this custom code to bp-custom.php to disable the rich text:<\/p>\n<p>[code]<\/p>\n<p>\/*&#8212;&#8212;&#8212;-*\/<br \/>\n\/* REMOVE rich text on xprofile text area<br \/>\n\/*&#8212;&#8212;&#8212;-*\/<br \/>\nfunction antipole_remove_rich_text( $field_id = null ) {<br \/>\nif ( ! $field_id ) {<br \/>\n$field_id = bp_get_the_profile_field_id( &lsquo;3&rsquo; );<br \/>\n}<\/p>\n<p>$field = xprofile_get_field( $field_id );<\/p>\n<p>if ( $field ) {<br \/>\n$enabled = false;<br \/>\n}<br \/>\n}<br \/>\nadd_filter( &lsquo;bp_xprofile_is_richtext_enabled_for_field&rsquo;, &lsquo;antipole_remove_rich_text&rsquo; );<\/p>\n<p>[\/code]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is a little trick for BuddyPress to remove the rich text functionnalities of the editor from the xProfile text areas, like bio field for example. Add this custom code to bp-custom.php to disable the rich text: [code] \/*&#8212;&#8212;&#8212;-*\/ \/* REMOVE rich text on xprofile text area \/*&#8212;&#8212;&#8212;-*\/ function antipole_remove_rich_text( $field_id = null ) { [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":1502,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[164],"class_list":["post-1792","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-buddypress","tag-tips-wordpress"],"_links":{"self":[{"href":"https:\/\/tulipemedia.com\/ar\/wp-json\/wp\/v2\/posts\/1792","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tulipemedia.com\/ar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tulipemedia.com\/ar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tulipemedia.com\/ar\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/tulipemedia.com\/ar\/wp-json\/wp\/v2\/comments?post=1792"}],"version-history":[{"count":1,"href":"https:\/\/tulipemedia.com\/ar\/wp-json\/wp\/v2\/posts\/1792\/revisions"}],"predecessor-version":[{"id":4204,"href":"https:\/\/tulipemedia.com\/ar\/wp-json\/wp\/v2\/posts\/1792\/revisions\/4204"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tulipemedia.com\/ar\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/tulipemedia.com\/ar\/wp-json\/wp\/v2\/media?parent=1792"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tulipemedia.com\/ar\/wp-json\/wp\/v2\/categories?post=1792"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tulipemedia.com\/ar\/wp-json\/wp\/v2\/tags?post=1792"}],"curies":[{"name":"\u0648\u0648\u0631\u062f\u0628\u0631\u064a\u0633","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}