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
// Data Set | |
// One top level comment | |
const comments = [{ | |
id: 1, | |
parent_id: null | |
}, { | |
id: 2, | |
parent_id: 1 | |
}, { | |
id: 3, |
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 | |
/** | |
* Callback function for taxonomy meta boxes | |
* | |
* A simple callback function for 'meta_box_cb' argument | |
* inside register_taxonomy() that replaces the regular | |
* checkboxes with a plain dropdown list | |
* | |
* @param [type] $post [description] | |
* @param [type] $box [description] |
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 | |
/** | |
* @author "Sebastián Grignoli" <grignoli@framework2.com.ar> | |
* @package Encoding | |
* @version 1.1 | |
* @link http://www.framework2.com.ar/dzone/forceUTF8-es/ | |
* @example http://www.framework2.com.ar/dzone/forceUTF8-es/ | |
*/ | |
class Encoding { |