WordPress.org

Ready to get started?Download WordPress

Forums

Pass variable into register_setting? (1 post)

  1. richarduk
    Member
    Posted 3 years ago #

    Anyone know how to pass a variable into register_setting?

    This doesn't work :-)

    $blah = 'whatever'; 	
    
    register_setting( 'register_this', "$blah" );

Topic Closed

This topic has been closed to new replies.

About this Topic