if ( class_exists( 'iworks_orphan' ) { $orphan = new iworks_orphan(); echo $orphan->replace( 'any_string' ); }