WordPress.org

Ready to get started?Download WordPress

Forums

switch_theme (1 post)

  1. bertholf
    Member
    Posted 3 years ago #

    Has anyone had any luck forcing the install of a theme? I have been attempting to use "switch_theme" but with no luck.
    tried:
    do_action("switch_theme", $directory);
    add_action("switch_theme", $directory);

    Any thoughts would be greatly apprecitaed

Topic Closed

This topic has been closed to new replies.

About this Topic