bp_ . $this->id . _slug

  • apply_filters( 'bp_' . $this->id . '_slug',          $r['slug']          )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-component.php :: Trac Source Line: 119
      			'root_slug'             => '',
      			'has_directory'         => false,
      			'notification_callback' => '',
      			'search_string'         => '',
      			'global_tables'         => ''
      		);
      		$r = wp_parse_args( $args, $defaults );
      
      		// Slug used for permalink URI chunk after root
      		$this->slug          = apply_filters( 'bp_' . $this->id . '_slug',          $r['slug']          );
      
      		// Slug used for root directory
      		$this->root_slug     = apply_filters( 'bp_' . $this->id . '_root_slug',     $r['root_slug']     );
      
      		// Does this component have a top-level directory?
      		$this->has_directory = apply_filters( 'bp_' . $this->id . '_has_directory', $r['has_directory'] );
      
      		// Search string
      		$this->search_string = apply_filters( 'bp_' . $this->id . '_search_string', $r['search_string'] );
      

Comments are closed.