Viewing 3 replies - 1 through 3 (of 3 total)
  • 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?!

    Plugin Author Mathieu Viet

    (@imath)

    Thanks @solhuebner

    I’ll upgrade the WordPress repository of the plugin this week end, it will be easier for everybody 🙂

    Sorry for the delay

    Great thank you 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can status labels be modified?’ is closed to new replies.