Skip to content

Commit

Permalink
See pewresearch/pewresearch-org@2a569b5 from refs/heads/release/5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
prcdevgitbot committed Feb 14, 2024
1 parent d207455 commit af8af28
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions blocks/collapsible/src/render.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<?php
namespace PRC\Platform\Blocks;
// PHP file to use when rendering the block type on the server to show on the front end.
// The following variables are exposed to this file:

// $attributes (array): The block attributes.
// $content (string): The block default content.
// $block (WP_Block): The block instance.

$is_deprecated = array_key_exists( 'deprecated', $attributes ) ? true : false;
$collapsible_title = array_key_exists( 'title', $attributes ) ? $attributes['title'] : 'How we did this';
Expand Down

0 comments on commit af8af28

Please sign in to comment.