Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update index.md

`GoogleSitemap::register()` should be `GoogleSitemap::register_dataobject()`
  • Loading branch information...
commit 7c3bde4d9f6876d88dbf07aee5e35e55a86562ae 1 parent de28313
@ryanwachtl ryanwachtl authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/en/index.md
View
4 docs/en/index.md
@@ -96,10 +96,10 @@ do that, include the following in your _config.php file.
GoogleSitemap::register_dataobject('MyDataObject');
If you need to change the frequency of the indexing, you can pass the change
-frequency (daily, weekly, monthly) as a second parameter to register(), So
+frequency (daily, weekly, monthly) as a second parameter to register_dataobject(), So
instead of the previous code you would write:
- GoogleSitemap::register('MyDataObject', 'daily');
+ GoogleSitemap::register_dataobject('MyDataObject', 'daily');
See the following blog post for more information:
Please sign in to comment.
Something went wrong with that request. Please try again.