| @@ -9,9 +9,9 @@ | ||
| 9 | 9 | |
| 10 | 10 | function inline_css() { |
| 11 | 11 | $class_id = '#' . $this->class_id; |
| 12 | 12 | $gutter = isset( $this->atts['gutter'] ) ? |
| 13 | - $this->atts['gutter'] : get_option( 'mgl_justified_gutter', 10 ); | |
| 13 | + $this->atts['gutter'] : Meow_MGL_Core::get_plugin_option( 'justified_gutter', 10 ); | |
| 14 | 14 | $isPreview = $this->isPreview; |
| 15 | 15 | ob_start(); |
| 16 | 16 | include dirname( __FILE__ ) . '/justified.css.php'; |
| 17 | 17 | $html = ob_get_clean(); |
| @@ -26,9 +26,9 @@ | ||
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | function build_styles() { |
| 29 | 29 | $row_height = isset( $this->atts['row-height'] ) ? |
| 30 | - $this->atts['row-height'] : get_option( 'mgl_justified_row_height', 200 ); | |
| 30 | + $this->atts['row-height'] : Meow_MGL_Core::get_plugin_option( 'justified_row_height', 200 ); | |
| 31 | 31 | $styles = '--rh: ' . $row_height . 'px'; |
| 32 | 32 | return $styles; |
| 33 | 33 | } |
| 34 | 34 | |