DELETE FROM wp_posts WHERE post_status LIKE ‘flamingo_spam’ or to complete claer flamingo content DELETE FROM wp_posts WHERE post_type LIKE ‘%flamingo%’
Kenai Timber Frames
Altitude Control Technology
Jacqueline Saunders
Delete Flamingo Spam
Block Color Picker
Within the edit function of block.js
0 1 2 3 4 5 6 7 | var el = wp.element.createElement, Fragment = wp.element.Fragment, registerBlockType = wp.blocks.registerBlockType, InspectorControls = wp.editor.InspectorControls, RadioControl = wp.components.RadioControl, ColorPicker = wp.components.ColorPicker;//this this |
0 1 2 3 4 5 6 7 8 9 10 11 12 | el('div', {}, 'Menu Background'), el(ColorPicker, { type: 'color', color: menu_bg, onChangeComplete: function(newValue) { props.setAttributes({ menu_bg: newValue.hex }); }, disableAlpha: true }), |
Add Arguments to WordPress Hooks
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | function jma_gbs_template_redirect() { $body = true; add_action( 'genesis_before_sidebar_widget_area', function () use ($body) { jma_gbs_open_div($body); } ); add_action( 'genesis_before_loop', function () use ($body) { jma_gbs_open_div($body); } ); add_action( 'genesis_after_sidebar_widget_area', function () use ($body) { jma_gbs_close_div($body); } ); add_action( 'genesis_after_loop', function () use ($body) { jma_gbs_close_div($body); } ); } add_action('template_redirect', 'jma_gbs_template_redirect'); |
Debug
0 1 2 3 4 | define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false); |