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
protected function populateState($ordering = null, $direction = null) | |
{ | |
# .... other code here | |
# Get category filter from menu item, 0 means no filter | |
$catid = $menu_params->get('show_from_category', 0); | |
if ($catid) | |
$this->setState('filter.catid', $catid); | |
} |
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 | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); | |
$array_length = 800000; | |
$test_array = []; | |
for ($i = 0; $i < $array_length; $i++) { |
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: Intuitive Custom Post Order | |
Plugin URI: http://hijiriworld.com/web/plugins/intuitive-custom-post-order/ | |
Description: Intuitively, Order Items (Posts, Pages, and Custom Post Types) using a Drag and Drop Sortable JavaScript. | |
Version: 2.1.0 | |
Author: hijiri | |
Author URI: http://hijiriworld.com/web/ | |
*/ |