[Resolved] Problem using bp_is_profile_edit() to enqueue script from functions.php
- 
		Im trying to only enqueue a script on the profile edit page. I figured I could just do it like this but it doesn’t work. I tested it without the condition to make sure it was linked correctly and it was. Any idea why it doesn’t work? `if ( bp_is_profile_edit() ) { 
 wp_enqueue_script( ‘limit_char’, get_bloginfo(‘stylesheet_directory’).’/libs/limit-char.js’ );
 }`
Viewing 6 replies - 1 through 6 (of 6 total)
	
Viewing 6 replies - 1 through 6 (of 6 total)
	
- The topic ‘[Resolved] Problem using bp_is_profile_edit() to enqueue script from functions.php’ is closed to new replies.