This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/*Code to retrieve RSS feeds from another website.*/ | |
$rss_url = 'http://tech.firstpost.com/feed'; /*Specify your blog url to from where you want to retrieve posts*/ | |
if( !class_exists( 'WP_Http' ) ) { | |
include_once( ABSPATH . WPINC. '/class-http.php' ); | |
} | |
$request = new WP_Http; | |
$result = $request->request( $rss_url ); | |
/*Check where data exists for requested url*/ | |
if (!empty($result['body'])) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The base configurations of the WordPress. | |
* | |
* This file has the following configurations: MySQL settings, Table Prefix, | |
* Secret Keys, WordPress Language, and ABSPATH. You can find more information | |
* by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing | |
* wp-config.php} Codex page. You can get the MySQL settings from your web host. | |
* | |
* This file is used by the wp-config.php creation script during the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Template Name: Responce | |
*/ | |
//I want to retrive sessionid variable inside this template file. | |
class wpsc_merchant_citrus_standard extends wpsc_merchant { | |
var $name = ''; | |
var $paypal_ipn_values = array(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* This is custom gateway for "Citrus Payement Sloution" | |
* @created: 5 MARCH 2013 | |
* @author: Omprakash | |
*/ | |
$nzshpcrt_gateways[$num]['name'] = 'Citrus Pay Gateway'; | |
$nzshpcrt_gateways[$num]['internalname'] = 'citrus_pay_gateway'; | |
$nzshpcrt_gateways[$num]['function'] = 'gateway_citrus_pay_gateway'; |