bp_member_type_hide_quickedit( type $actions, type $post )

Hide quick edit link.

Description

Parameters

$actions

(Required)

$post

(Required)

Return

(type)

Source

File: bp-members/bp-members-functions.php

function bp_member_type_hide_quickedit( $actions, $post ) {

	if ( empty( $post ) ) {
		global $post;
	}

	if ( bp_get_member_type_post_type() == $post->post_type )
		unset( $actions['inline hide-if-no-js'] );

	return $actions;
}

Changelog

Changelog
Version Description
BuddyBoss 1.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.