You appear to be a bot. Output may be restricted
Description
Return true if the ID is in context
Note: In shortcode processing the parameter names are lower cased so we should convert them as well
Usage
OIK_clone_informal_relationships::check_context( $t );
Parameters
- $t
- ( integer ) required – the index of the token
Returns
void
Source
File name: oik-clone/admin/class-oik-clone-informal-relationships.php
Lines:
1 to 15 of 15
function check_context( $t ) { $in_context = null; //echo "$t $in_context" . PHP_EOL; //echo $this->tokens[ $t ]['token'] . PHP_EOL; if ( $this->tokens[ $t ]['token'] == "=" ) { $token_type = $this->tokens[ $t-1 ]['type']; //echo "token_type: $token_type" . PHP_EOL; if ( $token_type == "0" ) { $token_value = strtolower( $this->tokens[ $t-1 ]['token'] ); $in_context = $this->check_token( $token_value ); } } return( $in_context ); }