{"__v":0,"_id":"56d88886b159f10b00304623","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":"2015-05-20T03:36:45.169Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":7,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_email_recipient_*\"\n}\n[/block]\nUnique filter applied when returning the recipient of an email.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"apply_filters( 'lifterlms_email_recipient_' . $this->id, $this->recipient, $this->object );\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_email_subject_*\"\n}\n[/block]\nUnique filter applied when returning the subject of an email.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"apply_filters( 'lifterlms_email_subject_' . $this->id, $this->format_string( $this->subject ), $this->object );\",\n      \"language\": \"php\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_email_headers\"\n}\n[/block]\nFilter applied when returning headers of an email.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"apply_filters( 'lifterlms_email_headers', \\\"Content-Type: \\\" . $this->get_content_type() . \\\"\\\\r\\\\n\\\", $this->id, $this->object );\",\n      \"language\": \"php\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_email_heading_*\"\n}\n[/block]\nUnique filter applied when returning the heading of an email.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"apply_filters( 'lifterlms_email_heading_' . $this->id, $this->format_string( $this->heading ), $this->object );\",\n      \"language\": \"php\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_email_classes\"\n}\n[/block]\nFilter applied when returning all available email classes. Used before instantiating email classes.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"apply_filters( 'lifterlms_email_classes', $this->emails );\",\n      \"language\": \"php\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_email_footer_text\"\n}\n[/block]\nApplied before returning the email footer text.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"apply_filters( 'lifterlms_email_footer_text', get_option( 'lifterlms_email_footer_text' );\",\n      \"language\": \"php\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"filters-email","type":"basic","title":"Filters: Email"}
[block:api-header] { "type": "basic", "title": "lifterlms_email_recipient_*" } [/block] Unique filter applied when returning the recipient of an email. [block:code] { "codes": [ { "code": "apply_filters( 'lifterlms_email_recipient_' . $this->id, $this->recipient, $this->object );", "language": "text" } ] } [/block] [block:api-header] { "type": "basic", "title": "lifterlms_email_subject_*" } [/block] Unique filter applied when returning the subject of an email. [block:code] { "codes": [ { "code": "apply_filters( 'lifterlms_email_subject_' . $this->id, $this->format_string( $this->subject ), $this->object );", "language": "php" } ] } [/block] [block:api-header] { "type": "basic", "title": "lifterlms_email_headers" } [/block] Filter applied when returning headers of an email. [block:code] { "codes": [ { "code": "apply_filters( 'lifterlms_email_headers', \"Content-Type: \" . $this->get_content_type() . \"\\r\\n\", $this->id, $this->object );", "language": "php" } ] } [/block] [block:api-header] { "type": "basic", "title": "lifterlms_email_heading_*" } [/block] Unique filter applied when returning the heading of an email. [block:code] { "codes": [ { "code": "apply_filters( 'lifterlms_email_heading_' . $this->id, $this->format_string( $this->heading ), $this->object );", "language": "php" } ] } [/block] [block:api-header] { "type": "basic", "title": "lifterlms_email_classes" } [/block] Filter applied when returning all available email classes. Used before instantiating email classes. [block:code] { "codes": [ { "code": "apply_filters( 'lifterlms_email_classes', $this->emails );", "language": "php" } ] } [/block] [block:api-header] { "type": "basic", "title": "lifterlms_email_footer_text" } [/block] Applied before returning the email footer text. [block:code] { "codes": [ { "code": "apply_filters( 'lifterlms_email_footer_text', get_option( 'lifterlms_email_footer_text' );", "language": "php" } ] } [/block]