{"__v":1,"_id":"56d88886b159f10b0030461d","category":{"__v":1,"_id":"56d88885b159f10b00304613","pages":["56d88886b159f10b0030461c","56d88886b159f10b0030461d","56d88886b159f10b0030461e","56d88886b159f10b0030461f","56d88886b159f10b00304620","56d88886b159f10b00304621","56d88886b159f10b00304622","56d88886b159f10b00304623","56d88886b159f10b00304624","56d88886b159f10b00304625","56d88886b159f10b00304626","56d88886b159f10b00304627","56d88886b159f10b00304628","56d88886b159f10b00304629","56d88886b159f10b0030462a","56d88886b159f10b0030462b","56d88886b159f10b0030462c","56d88886b159f10b0030462d","56d88886b159f10b0030462e","56d88886b159f10b0030462f","56d88886b159f10b00304630","56d88886b159f10b00304631"],"project":"549a321bf876ae0b00f33623","version":"56d88884b159f10b00304609","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-05-20T00:49:50.639Z","from_sync":false,"order":10,"slug":"developer-api","title":"Filters Reference"},"parentDoc":null,"project":"549a321bf876ae0b00f33623","user":"549a320d5b50c21400fae689","version":{"__v":3,"_id":"56d88884b159f10b00304609","project":"549a321bf876ae0b00f33623","createdAt":"2016-03-03T18:55:00.567Z","releaseDate":"2016-03-03T18:55:00.567Z","categories":["56d88885b159f10b0030460a","56d88885b159f10b0030460b","56d88885b159f10b0030460c","56d88885b159f10b0030460d","56d88885b159f10b0030460e","56d88885b159f10b0030460f","56d88885b159f10b00304610","56d88885b159f10b00304611","56d88885b159f10b00304612","56d88885b159f10b00304613","56d88885b159f10b00304614","56d89250b159f10b003046d4","56da13977222d50b0070167c"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.2.1","version":"2.2.1"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-01-23T02:39:58.292Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_my_account_message\"\n}\n[/block]\nAdd a message before the LifterLMS My Account Page Login and Registration forms. This is only displayed when a user is logged out.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<?php // don't paste this line into your functions.php file\\n/**\\n * Overwrite the default LifterLMS My Account Message displayed to logged out users\\n * :::at:::param  string $message   default message (blank as of v2.2.2)\\n * @return string            your message\\n */\\nfunction my_lifterlms_my_account_message( $message ) {\\n\\t\\n\\t$message = __( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.', 'my-text-domain' );\\n\\t\\n\\treturn $message;\\n\\n}\\nadd_filter( 'lifterlms_my_account_message', 'my_lifterlms_my_account_message', 10, 1 );\",\n      \"language\": \"php\",\n      \"name\": \"lifterlms_my_account_message.php\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_account_greeting\"\n}\n[/block]\nFilter the greeting message displayed to users on the account dashboard. Default: \"What would you like to learn today?\"\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_my_courses_title\"\n}\n[/block]\nFilter the title of the My Courses section title. Default: \"My Courses\"\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_my_courses_enrollment_status_html\"\n}\n[/block]\nFilter the enrollment status html of courses in the My Courses section.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_my_courses_start_date_html\"\n}\n[/block]\nFilter the start date html of the courses in the My Courses section.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_my_courses_course_button_text\"\n}\n[/block]\nFilter the button text of the view course buttons in the My Courses section. Default: \"View Course\"\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_my_certificates_title\"\n}\n[/block]\nFilter the title of the My Certificates section. Default: \"My Certificates\"\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_my_achievements_title\"\n}\n[/block]\nFilter the title of the My Achievements section. Default: \"My Achievements\"\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_no_achievements_text\"\n}\n[/block]\nFilter the message that displays if no achievements have been earned. Default: \"Complete courses and lessons to earn achievements.\"\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_my_memberships_title\"\n}\n[/block]\nFilter the title of the My Memberships section. Default: \"My Memberships\"","excerpt":"","slug":"filters-account","type":"basic","title":"Filters: Account"}
[block:api-header] { "type": "basic", "title": "lifterlms_my_account_message" } [/block] Add a message before the LifterLMS My Account Page Login and Registration forms. This is only displayed when a user is logged out. [block:code] { "codes": [ { "code": "<?php // don't paste this line into your functions.php file\n/**\n * Overwrite the default LifterLMS My Account Message displayed to logged out users\n * @param string $message default message (blank as of v2.2.2)\n * @return string your message\n */\nfunction my_lifterlms_my_account_message( $message ) {\n\t\n\t$message = __( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.', 'my-text-domain' );\n\t\n\treturn $message;\n\n}\nadd_filter( 'lifterlms_my_account_message', 'my_lifterlms_my_account_message', 10, 1 );", "language": "php", "name": "lifterlms_my_account_message.php" } ] } [/block] [block:api-header] { "type": "basic", "title": "lifterlms_account_greeting" } [/block] Filter the greeting message displayed to users on the account dashboard. Default: "What would you like to learn today?" [block:api-header] { "type": "basic", "title": "lifterlms_my_courses_title" } [/block] Filter the title of the My Courses section title. Default: "My Courses" [block:api-header] { "type": "basic", "title": "lifterlms_my_courses_enrollment_status_html" } [/block] Filter the enrollment status html of courses in the My Courses section. [block:api-header] { "type": "basic", "title": "lifterlms_my_courses_start_date_html" } [/block] Filter the start date html of the courses in the My Courses section. [block:api-header] { "type": "basic", "title": "lifterlms_my_courses_course_button_text" } [/block] Filter the button text of the view course buttons in the My Courses section. Default: "View Course" [block:api-header] { "type": "basic", "title": "lifterlms_my_certificates_title" } [/block] Filter the title of the My Certificates section. Default: "My Certificates" [block:api-header] { "type": "basic", "title": "lifterlms_my_achievements_title" } [/block] Filter the title of the My Achievements section. Default: "My Achievements" [block:api-header] { "type": "basic", "title": "lifterlms_no_achievements_text" } [/block] Filter the message that displays if no achievements have been earned. Default: "Complete courses and lessons to earn achievements." [block:api-header] { "type": "basic", "title": "lifterlms_my_memberships_title" } [/block] Filter the title of the My Memberships section. Default: "My Memberships"