You appear to be a bot. Output may be restricted
Description
Check if the relationship already exists
Usage
oik_f2t_check_relationship_exists( $f2t );
Parameters
- $f2t
- ( mixed ) required –
Returns
voidSource
File name: oik-types/admin/oik-f2t.phpLines:
1 to 10 of 10
function oik_f2t_check_relationship_exists( $f2t ) { global $bw_mapping; list( $type, $field ) = explode( ".", $f2t ); bw_trace2( $bw_mapping ); $exists = bw_array_get( $bw_mapping['field'], $type, false ); if ( $exists ) { $exists = bw_array_get( $exists, $field, false ); } return( $exists ); }View on GitHub