You shouldn’t edit that file.
You should over-ride it.
Create a folder called ‘buddypress’ in the root of your theme folder.
Place a copy of post-form.php in that folder – using the same dir structure as
bp-templates/bp-legacy/buddypress/
Then you can update buddypress without losing your changes.
Related Posts:
- How to get member list based on role by using buddypress?
- Wp favorite posts get user favorites in profile using buddypress [closed]
- Limiting buddy press features based on membership level (PMPro)
- I want to remove the register/login WordPress top bar from my website
- Uncaught Error: Call to undefined function wp_generate_attachment_metadata() @ wp-cron
- Using require_once in a Plugin?
- Simple form that saves to database
- How to call plugin path in JS?
- Get Current user email as a return string value
- Stackoverflow type of badge plugin giving warnings in WordPress 3.5
- How can I make content disappear when a user logs in?
- Plugin.php: PHP Notice: Undefined offset: 0 in
- How to save Clicks of a download link button while it doesn’t matter if we refresh the page or again login/logout
- New Plugin: Post update pushes a copy as a revision
- Overide a function that is inside a plugin
- WooCommerce get_price returning wrong price when used via ajax
- Open Post Thumbnail in New Child Theme File in WordPress
- Add keywords meta to index.php page
- WordPress on AWS with ELB
- Executing my function once on a specific time
- How to access data in wordpress database externally using php
- Redirecting a buddyboss profile tab to a different tab if not subscribed to a specific membership
- WooCommerce: Building a page with user input which is used to query order status and external API and return a result
- After plugin activation all users marked as Spam
- Why “Call to a member function on a non-object” in plugin only?
- What are the specifics of WordPress development I need to know? [closed]
- After upgrade to php 7 plugin/them updates broke [closed]
- How to echo text in browser instead of download junk file?
- How to create a custom post type that contains another custom post type?
- WordPress 4.8.1 php getting commented
- Issue running db create table query from static method
- Can i add custom code in Source, Header from function.php?
- How to make multiple admin pages for one plugin?
- Problem with isset and $_POST
- Allowing users to Sign-up > Login > Post articles that need approval
- Use $variable from file1.php in file2.php (different file paths)
- Redeclare function after plugin activation
- get_edit_post_link() not working on wp-cron
- How to include a custom field in the woocommerce email?
- Adding a simple Javascript file with a plugin
- How to add/change (woocommerce) product tab icon
- Comment “like” problem – “users who like this” avatar linking to current user profile instead of “liker’s” profile
- I want to generate the pdf and save it in library?
- Wierd site output [closed]
- How to write to a separate PHP file in plugin settings
- Dynamic Image Replacement through call rail phone call tracking plugins in wordpress
- How can I show registration form inside modal?
- How to display results from a data table with an encrypted user id?
- BuddyPress admin bar links are broken [closed]
- add_action for publish_post doesn’t work
- How to proper escape echo inside a javascript tag
- Checkbox show / hide output result
- Custom Logo Link WordPress
- How to convert Currency from USD to other IP Based currency in Php function
- How do I reinit WordPress plugins dynamically using jS?
- Attempting to list all product categories and the price range of all products within them
- WP Import All Multiple Dynamic Link Imports
- admin_notices show after load completed
- WordPress + python integration
- Newbie problem with adding include wp_footer
- Creating an array from form inputs before it is posted to the options database
- Plugin which unlock free gift when you reach some amount in cart
- is there a way to display product gallery images via cdn
- How can I create a secure file download in WordPress?
- How can I see $post object in frontend from functions.php?
- Move plugin pages from dashboard to front-end
- Get post content inside plugin class method
- Ajax call to php function doesn’t work PHP code
- Python in WordPress – A “Hello World” implementation
- WordPress PHP error getting posts from another wordpress blog
- Restrict role to use a plugin
- How to insert image into the Settings Page of a Plugin?
- Creating new option (add_option) from AJAX – Settings API
- Use WP_Query for custom post type but result get empty
- Paginated Comments “reply” does not work!
- How to limit each front-end user to view just his own uploaded files on Amazon S3?
- Need help integrating plugin into theme
- AJAX doesn’t pass variables to the php function in the plugin
- How to add a handler for a button in plugin?
- Postal address auto-complete on profile page
- how do you point ‘screen_function’ to a function in the same class? [closed]
- Doing action based on input from options menu
- Insert dynamic content into posts
- WordPress Related Plugin – Adding an image
- WordPress User Frontend Editing Custom Fields
- How to delete remain data in WP database after deleting custom post via admin interface
- My wordpress site wont load, it gives header error warnings
- Populate Woocommerce order notes with custom field value
- Woocommerce Product Add-ons – Auto-select first option
- Strict Standards: Non-static method in sidebar generator
- Fast Tranfering my WordPress site to another server
- Duplicating wordpress install issue
- Function not being called on form submit, only blank admin-post.php page
- cURL External API request displays content above other content on page
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- WordPress Convert queries to slashes using function.php
- Creating a Table Row by Row
- Getting 504 Gateway Timeout Error on AWS Server! [closed]
- WordPress issue – data is not showing in wp-admin, but when searching through database, all the data is there
- WordPress Throwing Deprecated Errors on its own Files