Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Must I set up subnav items when creating a new component?

@henrywright-1

Member

bp_action_variables are stored as an array

That does make it easy. you just have to ‘catch’ them right?

so if somebody randomly entered the URL posts/page/2/3/hello and I did something like

if ( $bp->action_variables[2] == 'hello' ) {
// do something
} else {
// do nothing
}

then ‘do something’ would happen

Skip to toolbar