You appear to be a bot. Output may be restricted
Description
Check if this is an ID in context
We want to know whether or not we think this is an ID. So we check the context, by backtracking no further than the start of the shortcode to see what sort of parameter we might be processing. If we find an "=" then we check the previous token If we don't then we keep going until we see a space.
Usage
OIK_clone_informal_relationships::is_in_context( $t );
Parameters
- $t
- ( mixed ) required –
Returns
void
Source
File name: oik-clone/admin/class-oik-clone-informal-relationships.php
Lines:
1 to 17 of 17
function is_in_context( $t ) { $in_context = null; if ( $this->latest_shortcode_start ) { $t--; while ( $in_context === null && ( $t > ( $this->latest_shortcode_start ) ) ) { $in_context = $this->check_context( $t ); $t--; } // If we've got back to the start and not yet confirmed it // then perhaps this is a positional parameter // so let's err on the true side rather than false. if ( null === $in_context ) { $in_context = true; } } return( $in_context ); }