Skip to:
Content
Pages
Categories
Search
Top
Bottom

Need help to create a plugin


  • informerfrk
    Participant

    @informerfrk

    I am a new buddypress plugin developer and need to know more about developing as I have started developing plugins newly and don’t know how to add settings in admin menu… In my plugin I have two parts of code. Only one code at a time should be run. When a code will run, other will not be run. I want to add an admin settings page in dashboard where admin can choose which one of the code should be taken during running the plugin…

    I want the settings option in admin dashboard for admin… Just look at these two code…

    if ( $activity->component != ‘groups

    And also

    if ( $activity->component != ‘friends

    I want something like this–

    In admin page, if select “groups” radio button option take this code ” if ( $activity->component != ‘groups ”

    And

    In admin page, if select “friends” radio button option take this code ” if ( $activity->component != ‘friends “

  • The topic ‘Need help to create a plugin’ is closed to new replies.
Skip to toolbar