You appear to be a bot. Output may be restricted
Description
Alternative 'like' API – tbc$name | e.g. | Processing |
---|---|---|
x%nny | Happy%20Easter | Happy |
class::method | WP_query::posts | List all the methods for the class |
class:: | WP_Query:: |
Usage
oiksc_404_handler::another_like_api( $atts );
Parameters
- $atts
- ( mixed ) optional –
Returns
voidSource
File name: oik-shortcodes/classes/class-oiksc-404-handler.phpLines:
1 to 29 of 29
function another_like_api( $atts=null ) { oik_require( "shortcodes/oik-api.php", "oik-shortcodes" ); oik_require( "shortcodes/oik-api-importer.php", "oik-shortcodes" ); $name = $this->get_name(); $type = oikai_determine_reference_type( $name ); switch ( $type ) { case 'class': $atts['post_type'] = "oik_class"; $atts['meta_key'] = "_oik_class_name"; $atts['meta_value'] = $this->another_like(); break; case 'method': break; case 'function': break; case 'internal': break; default: break; } return( $atts ); }View on GitHub