bp_ps_esc_like( $text )

Returns escaped $text with backslashes before characters _%\.

Description

Source

File: bp-core/profile-search/bps-search.php

function bp_ps_esc_like ($text)
{
    return addcslashes ($text, '_%\\');
}

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.