- Constant
- define('ROOTURI', get_template_directory_uri() );
- Automatically global.
- basename()
- File or last folder name of a path
- echo basename(ROOTURI);
- myTheme.
- dirname()
- Directory name of a path.
- include ()
- $mobile_path =plugin.php';
if ( file_exists( $mobile_path ) ) { include( $mobile_path ); } - if ( file_exists( ROOTDIR . '/a/setup.php' ) ) include( ROOTDIR . '/a/setup.php' );
- stripos(string,find,start)
- Position number of the first occurrence inside the string:
No comments:
Post a Comment