<div dir="ltr">Are we allowed to use:<div><br></div><div><b>if (is_admin() && isset($_GET['activated'] ) && $pagenow == "themes.php" ) {</b><b>}</b></div><div><b><br></b></div><div><b><br>
</b></div><div><b>example:</b></div><div><b>---------------------<br></b>if (is_admin() && isset($_GET['activated'] ) && $pagenow == "themes.php" ) {<div> $option_default_values = array(</div>
<div>"block1_text_id" => "Lorem Ipsum",<br></div><div>"block1_textarea_id" => "Lorem Ipsum blah blah blah");<br></div><div><br></div><div>update_option('theme_options', $option_default_values);<br>
</div><div>}<br clear="all"><div>--------------------------</div><div><br></div><div>if we are not, what should we use instead? </div><div>after_setup_theme doesnt work btw. </div><div><br></div><div>or should we use after_switch_theme?</div>
<div><br></div><div>Thanks</div>-- <div><span style="color:rgb(153,153,153)">Towfiq I.</span><br>
</div></div></div></div>