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 | |
/** | |
* Plugin Name: Auto Amazon Links - Custom Product URL | |
* Description: Sets a custom product URL. Edit the like of the plugin file saying "MODIFY THIS LINE". | |
* Version: 0.0.1 | |
*/ | |
namespace AutoAmazonLinks\CustomProductURL; | |
class App { |
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 | |
/** | |
* Plugin Name: Auto Amazon Links - RSS Price Tag | |
* Description: Inserts a price tag in the unit RSS feeds of Auto Amazon Links | |
* Author: Michael Uno (miunosoft) | |
* Version: 1.0.0 | |
*/ | |
function AutoAmazonLinks_InsertRSSPriceTag( $aProduct ) { | |
if ( empty( $aProduct[ 'formatted_price' ] ) ) { |
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 | |
namespace AdminPageFrameworkCustomSortableSections; | |
class AdminPage extends \AdminPageFramework { | |
public $sPageSlug = 'apf_custom_sortable_collapsible_sections'; | |
public function setUp() { |
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 | |
namespace AdminPageFrameworkCSVDownload; | |
class AdminPage extends \AdminPageFramework { | |
public function setUp() { | |
$this->setRootMenuPage( 'Settings' ); |
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 | |
/** | |
* Plugin Name: Amazon Auto Links - Drop Products without Price | |
* Plugin URI: https://en.michaeluno.jp/amazon-auto-links | |
* Description: Drops products without a price | |
* Author: Michael Uno (miunosoft) | |
* Author URI: https://michaeluno.jp | |
* Version: 1.0.0 | |
*/ |
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 | |
/** | |
* Plugin Name: Amazon Auto Links - Filter Prices | |
* Description: Removes a part enclosed in parentheses in price outputs. | |
* Version: 1.0.0 | |
*/ | |
/** | |
* | |
*/ |
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 | |
class A { | |
public function test() {} | |
} | |
$_func = function( $f ) use ( $p ) {}; | |
$_resource = fopen( __DIR__ . '_temp.txt', 'w' ); | |
$_oA = new A; | |
$_sMultiLine =<<<HERE | |
Lorem ipsum dolor sit amet, consectetur adipiscing elit. |
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 | |
/** | |
* Plugin Name: Amazon Auto Links - Product Link to Amazon Smile | |
* Plugin URI: http://en.michaeluno.jp/amazon-auto-links | |
* Description: Converts product links to the Amazon Smile domain | |
* Author URI: http://michaeluno.jp | |
* Version: 0.0.1 | |
* Author: Michael Uno | |
*/ | |
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 | |
/** | |
* Plugin Name: Amazon Auto Links - Custom RSS ImageURL Field | |
* Plugin URI: http://en.michaeluno.jp/amazon-auto-links | |
* Description: Adds a custom image url field in RSS2 output of Amazon Auto Links product RSS2 feeds. Requires Amazon Auto Links 3.5.4 or above. | |
* Author URI: http://michaeluno.jp | |
* Version: 0.0.1 | |
* Author: Michael Uno | |
*/ | |
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 | |
class APFTest_SortableCheckboxes extends AdminPageFramework { | |
public function setUp() { | |
// To reset the options uncomment the next line. | |
// delete_option( get_class( $this ) ); | |
$this->setRootMenuPage( __( 'Sortable Checkboxes', 'apf-test-sortable-checkboxes' ) ); |
NewerOlder