| @@ -27,9 +27,9 @@ | ||
| 27 | 27 | ]; |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | public function render( $atts, $content = null ) { |
| 31 | - $post = get_post( $this->attributes['post_id'] ); | |
| 31 | + $post = get_post( $get_args['post_id'] ); | |
| 32 | 32 | |
| 33 | 33 | return betterdocs()->template_helper->content( |
| 34 | 34 | $post->post_content, |
| 35 | 35 | $this->attributes['htags'], |