===== MoodleScript: HIDE BLOCK ===== ===== MoodleScript Script Engine ===== === Effect === Hides the instances of a block in a course. === Syntax === HIDE BLOCK IN HIDE BLOCK (todo) === Examples === HIDE BLOCK latest_news IN idnumber:U345654 HIDE BLOCK idnumber:"B203_52" HIDE BLOCK current === Specific attributes === * **blocktype**: A block type (for example "latest_news", "configurable_report", etc.). * **courseidentifier**: A course identifier * **blockidentifier**: a unique block identifier (*) === Other defaults === None === Notes === (*) This assumes the "block identifiers" provided by the installation of certain third-party plugins are in place. === See also === [[:local:moodlescript:language:showblock|Show a block]] [[:local:moodlescript:languagespecification|Back to the language index]] - [[:local:moodlescript|Back to the component index]]