Skip to:
Content
Pages
Categories
Search
Top
Bottom

overriding the function widget_display isnt working


  • Chris
    Member

    @eaonflux

    Hi
    i made a group extension that only need to show a custom posttype at the home slug in perticulair group.

    conform the group extension i should use the function widget_display()

    but i doesnt work.
    I checked wp-contentpluginsbuddypressbp-groupsbp-groups-classes.php
    and see at line 1248 the following:
    `// Hook the group home widget
    if ( !bp_current_action() && bp_is_current_action( ‘home’ ) )`
    and i changed it to:

    `// Hook the group home widget
    if ( !bp_current_action() || bp_is_current_action( ‘home’ ) )`

    instead AND i made it OR
    is this an error of BP?

    can anyone confirm this

    grts,

    eaonflux

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘overriding the function widget_display isnt working’ is closed to new replies.
Skip to toolbar