' . strtolower($title[0]) . '
' . __('Options saved.', 'table-of-contents-plus') . '
' . __('Save failed.', 'table-of-contents-plus') . '
' . htmlentities( $toc_title, ENT_COMPAT, 'UTF-8' ) . '
'; } $html .= '
id="get_field_id( 'hide_inline' ); ?>" name="get_field_name( 'hide_inline' ); ?>" value="1" />
post->ID ); $content = wptexturize($post->post_content); } if ( $apply_eligibility ) { if ( !$tic->is_eligible() ) { $proceed = false; } } else { $tic->set_option(array('start' => 0)); } if ( $proceed ) { $return = $tic->extract_headings( $find, $replace, $content ); if ( $prefix_url ) $return = str_replace('href="#', 'href="' . $prefix_url . '#', $return); } return $return; } // do the magic $tic = new toc();