In the case of Excel macros, Microsoft have provided a public API within which to create those programs.
This is not the case for WordPress themes. Themes use the internal structures of WordPress to do their work, not the public APIs that WordPress provides.
This is not the case for WordPress themes. Themes use the internal structures of WordPress to do their work, not the public APIs that WordPress provides.