WordPress.org

Forums

Buddy-bbPress Support Topic
[resolved] Can status labels be modified? (4 posts)

  1. Rocket Pixels
    Member
    Posted 1 year ago #

    Wanted to use this plugin for something other than 'support' - anyone know if the labels can be easily modified?

    Thanks

    http://wordpress.org/plugins/buddy-bbpress-support-topic/

  2. solhuebner
    Member
    Posted 1 year ago #

    A filter to add custom support statuses (version 2.x)

    An example of use is displayed below, use it in your plugin or in the functions.php file of your theme.

    function functionprefix_custom_status( $allstatus = array() ) {
    $allstatus['topic-working-on-it'] = array(
    'sb-caption' => __( 'Working on it', 'buddy-bbpress-support-topic' ),
    'value' => 1,
    'prefix-title' => __( '[Working on it] ', 'buddy-bbpress-support-topic' ),
    'admin_class' => 'waiting'
    );
    $allstatus['topic-also-working-on-it'] = array(
    'sb-caption' => __( 'Also working on it', 'buddy-bbpress-support-topic' ),
    'value' => 2,
    'prefix-title' => __( '[Also working on it] ', 'buddy-bbpress-support-topic' ),
    'admin_class' => 'waiting'
    );
    
    return $allstatus;
    }
    
    add_filter( 'bpbbpst_get_support_status', 'functionprefix_custom_status', 10, 0 );

    Maybe you can play around with that?!

  3. imath
    Member
    Plugin Author

    Posted 8 months ago #

    Thanks @solhuebner

    I'll upgrade the WordPress repository of the plugin this week end, it will be easier for everybody :)

    Sorry for the delay

  4. solhuebner
    Member
    Posted 8 months ago #

    Great thank you :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Buddy-bbPress Support Topic
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.