Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Hook and condition #30433
    Martin
    Participant

    Got it. Thank you.

    in reply to: Hook and condition #30416
    Martin
    Participant

    But is this not the point with Elements, that the code should be

    
    
        if ( 4118 === $settings['list_id'] ) {
    		//do something
    	}
    
    

    when “wpsp_inside_image_container” is set in the settings of the Element and not

    
    add_action( 'wpsp_inside_image_container', function( $settings ) {
        if ( 4118 === $settings['list_id'] ) {
    		//do something
    	}
    });
    

    ??

    in reply to: Hook and condition #30413
    Martin
    Participant

    But I did specify a hook in the element, in the settings for the hooks below the editor. I guess it is not enough … Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)