// MyContext.js
import React from 'react'
const MyContext = createContext()
export default MyContext
// App.js
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 | |
add_action( '{taxonomy}_add_form_fields', 'add_feature_group_field', 10, 2 ); | |
function add_feature_group_field($taxonomy) { | |
global $meta_name; | |
?> | |
<div class="form-field"> | |
<label for="meta_name">Meta Name</label> | |
<input name="meta_name" id="meta_name" type="text" value="<?php echo $meta_name; ?>" size="40" aria-required="true"> |
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
if ( ! class_exists( 'theme_utilities' ) ) { | |
class theme_utilities { | |
public static function theme_function_one() { } | |
public static function theme_function_two() { } | |
} | |
} |
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
SELECT | |
p.ID, | |
p.post_author, | |
p.post_date, | |
u.display_name, | |
p.post_title, | |
p.post_content, | |
t.name | |
FROM wp_posts as p | |
INNER JOIN wp_postmeta as pm ON (p.ID = pm.post_id) |
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
[ | |
{ | |
"Date": "2013-01", | |
"Value": "53" | |
}, | |
{ | |
"Date": "2013-02", | |
"Value": "165" | |
}, | |
{ |
OlderNewer