content * * @return string html for snippet preview * * @deprecated 3.0 Removed, use javascript instead. */ public function get_content() { _deprecated_function( __METHOD__, 'WPSEO 3.0', __( 'Use javascript instead.', 'wordpress-seo' ) ); return $this->content; } /** * Sets date if available * * @deprecated 3.0 Removed, use javascript instead. */ protected function set_date() { _deprecated_function( __METHOD__, 'WPSEO 3.0', __( 'Use javascript instead.', 'wordpress-seo' ) ); } /** * Retrieves a post date when post is published, or return current date when it's not. * * @return string * * @deprecated 3.0 Removed, use javascript instead. */ protected function get_post_date() { _deprecated_function( __METHOD__, 'WPSEO 3.0', __( 'Use javascript instead.', 'wordpress-seo' ) ); return ''; } /** * Generates the url that is displayed in the snippet preview. * * @deprecated 3.0 Removed, use javascript instead. */ protected function set_url() { _deprecated_function( __METHOD__, 'WPSEO 3.0', __( 'Use javascript instead.', 'wordpress-seo' ) ); } /** * Sets the slug and adds it to the url if the post has been published and the post name exists. * * If the post is set to be the homepage the slug is also not included. * * @deprecated 3.0 Removed, use javascript instead. */ protected function set_slug() { _deprecated_function( __METHOD__, 'WPSEO 3.0', __( 'Use javascript instead.', 'wordpress-seo' ) ); } /** * Generates the html for the snippet preview and assign it to $this->content. * * @deprecated 3.0 Removed, use javascript instead. */ protected function set_content() { _deprecated_function( __METHOD__, 'WPSEO 3.0', __( 'Use javascript instead.', 'wordpress-seo' ) ); } /** * Sets the html for the snippet preview through a filter * * @param string $content Content string. * * @deprecated 3.0 Removed, use javascript instead. */ protected function set_content_through_filter( $content ) { _deprecated_function( __METHOD__, 'WPSEO 3.0', __( 'Use javascript instead.', 'wordpress-seo' ) ); } }