Skip to content

Commit

Permalink
Adjusted comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jhned committed Jul 10, 2017
1 parent 0b5adf1 commit 168ca84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/partials/function-get-acf-organisms.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ function get_acf_organisms( $all_layouts = array() ) {

$acf_atom_or_organism_class_name = '';

// E.g., a layout named "layout_content" has a PHP class titled "CNP\ACF_Content."
// "layout_post_list" becomes "CNP\ACF_PostList"
// E.g., a layout named "layout_content" has a suffix titled "Content."
// "layout_post_list" becomes "PostList"
$acf_atom_or_organism_class_suffix = str_replace( ' ', '', ucwords( str_replace( [ 'layout', '_' ], [ '', ' ' ], $layout_data['acf_fc_layout'] ) ) );

if ( class_exists( '\CNP\OrganismTemplate' ) ) {
Expand Down

0 comments on commit 168ca84

Please sign in to comment.