i am using function,
function instance_allow_multiple() {
return TRUE;
}
As we know.
This method should return a boolean value, indicating whether we want to allow multiple instances of this block in the same page or not.
I want :-
- Allow only 2 instances of this block in the same page.