stripos

The Facebook Feed stripos function.

Description

stripos( $haystack, $needle ); 

Parameters (2)

0. $haystack
The haystack.
1. $needle
The needle.

Usage

  1. if ( !function_exists( 'stripos' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'facebook-feed/facebook-feed-shortcode.php'; 
  3.  
  4. // The haystack. 
  5. $haystack = null; 
  6.  
  7. // The needle. 
  8. $needle = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = stripos($haystack, $needle); 
  12.  

Defined (1)

The function is defined in the following location(s).

/facebook-feed-shortcode.php  
  1. function stripos($haystack, $needle) { 
  2. return strpos($haystack, stristr( $haystack, $needle ));