source/php/ModuleManager.php
public function saveHideTitleCheckbox($postId, $post)
    {
        if (substr($post->post_type, 0, 4) != 'mod-') {
            return;
        }

        if (!isset($_POST['modularity-module-hide-title'])) {
            update_post_meta($post->ID, 'modularity-module-hide-title', 0);
            return;
        }

        update_post_meta($post->ID, 'modularity-module-hide-title', 1);
        return;
    }
public function saveHideTitleCheckbox($postId, $post)
    {
        if (substr($post->post_type, 0, 4) != 'mod-') {
            return;
        }

        if (!isset($_POST['modularity-module-hide-title'])) {
            update_post_meta($post->ID, 'modularity-module-hide-title', 0);
            return;
        }

        update_post_meta($post->ID, 'modularity-module-hide-title', 1);
        return;
    }
public function saveHideTitleCheckbox ( $ postId , $ post ) { if ( substr ( $ post -> post_type , 0 , 4 ) != 'mod-' ) { return ; } if ( ! isset ( $ _POST [ 'modularity-module-hide-title' ] ) ) { update_post_meta ( $ post -> ID , 'modularity-module-hide-title' , 0 ) ; return ; } update_post_meta ( $ post -> ID , 'modularity-module-hide-title' , 1 ) ; return ; }
Saves the hide title checkboc
@param  int $postId
@param  WP_Post $post
@return void
Saves the hide title checkboc