WordPress.org

Ready to get started?Download WordPress

Forums

Buddy-bbPress Support Topic
Can status labels be modified? (2 posts)

  1. Rocket Pixels
    Member
    Posted 7 months 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 5 months 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?!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.