Skip to content
View pbrocks's full-sized avatar

Block or report pbrocks

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. pbrocks-fse pbrocks-fse Public

    WordPress Full-Site Editing theme

    CSS 4

  2. pbrocks-sample-blocks pbrocks-sample-blocks Public

    Some blocks developed by pbrocks.

    JavaScript

  3. wcphl19-collection wcphl19-collection Public

    Rewriting gutenberg-examples plugin using wp-scripts

    JavaScript 4 2

  4. WC Lancaster filter to show block ty... WC Lancaster filter to show block type if you have WP_DEBUG turned on.
    1
    <?php
    2
    add_filter( 'render_block', 'wplancpa_2019_show_block_type', 10, 2 );
    3
    
                  
    4
    function wplancpa_2019_show_block_type( $block_content, $block ) {
    5
    	if ( true === WP_DEBUG ) {
  5. Use the `render_block` filter to sho... Use the `render_block` filter to show the elemental parts of a WordPress block.
    1
    <?php
    2
    
                  
    3
    add_filter( 'render_block', 'show_the_block_constituents', 10, 2 );
    4
    /**
    5
     * [show_the_block_constituents] Debug code for showing the parts of WP Blocks
  6. wclvpa19-ajax-plugin wclvpa19-ajax-plugin Public

    A starter plugin showing how to create your own plugin instead of stuffing your theme's functions.php full of functional items.

    PHP 1