Plugin development – please can you help
-
Hi Friends,
I have recently started plugin development for Buddypress. I have fair knowledge of PHP and understand basics of Plugin development. Please can you help me with certain queries below:
1. Can you give me any link to good ebook for Buddypress plugin development?
2. I understand using action hooks I can call my own function, but how can say that call my function after or before the action hook. e.g. I want to display new fields / text in User profile page so I’m attaching my function in action hook ‘xprofile_template_loop_end’, but this writes all the fields and ‘Save’ button and then calls my function so my fields/text comes after ‘Save’ button.
3. How can I know in my function (to take appropriate action) the current selected option by user. e.g. action hook ‘xprofile_template_loop_end’ can be called in display and edit profile, how can I know in my function that it is edit or just display?
4. How can I add new fields on a page and database thru plugin and not manually editing the page?Appreciate your help.
thanks & regards,
Ashwani
- The topic ‘Plugin development – please can you help’ is closed to new replies.