app/View/Content.php
Method filter_hooks
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function filter_hooks() {
return array(
array(
'hook' => 'the_content',
'method' => 'post_content',
Method do_shortcode
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function do_shortcode( array $attrs, $content = '' ) {
$args = shortcode_atts( static::$defaults, $attrs, 'gistpen' );
// If the user didn't provide an ID, raise an error
if ( ! $args['id'] ) {